Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For the second part of the question, I would advice to

  • write code in python files (such as sehrschoen.py) or in .sage files. The difference is that .sage files are preparsed, so that you can used exactly the same syntax as in the notebook (things like 4^4 or R.<x>=QQ[] that are not allowed in pure python). I prefer to use .py files, because it is this kind of files that form the source code of sage.

  • use the magic command %attach sehrschoen.py to attach this file to your session when you want. This is better than load, because every modification of the file triggers the reloading automatically.