First time here? Check out the FAQ!
answered 2012-05-17 01:58:58 +0100
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()