Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Importing a sage library???

How do I import a sage library? Mine is called functions.sage. But when I import - python says it doesn't know it. I tried:

__import__('functions.sage')

and also:

import imp
imp.load_source('fun', 'functions.sage')

None works!