| 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()
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.