First time here? Check out the FAQ!
asked 13 years ago
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:
functions.sage
__import__('functions.sage')
and also:
import imp imp.load_source('fun', 'functions.sage')
None works!