| 1 | initial version |
You may put it in an appropriate subfolder of
sage-x.y/devel/sage/sage/
for example in
sage-x.y/devel/sage/sage/misc/
Let's say your file is named myfunctions.py, then
from sage.misc.myfunctions import *
will give you access to all functions defined in myfunctions.py
| 2 | No.2 Revision |
You provided you have access to the Sage directory tree,
you may put it in an appropriate subfolder of
sage-x.y/devel/sage/sage/
for example in
sage-x.y/devel/sage/sage/misc/
Let's say your file is named myfunctions.py, then
from sage.misc.myfunctions import *
will give you access to all functions defined in myfunctions.py
| 3 | No.3 Revision |
provided Provided you have access to the Sage directory tree,
you may put it in an appropriate subfolder of
sage-x.y/devel/sage/sage/
for example in
sage-x.y/devel/sage/sage/misc/
Let's say your file is named myfunctions.py, then
from sage.misc.myfunctions import *
will give you access to all functions defined in myfunctions.py
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.