Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can put your function or class in a .py or .sage file and then run the command. In the following example I have myfunction in file.py

load("/path-to-file/file.py")
myfunction()