| 1 | initial version |
I don't know how to do precisely what you asked, but I often write code in a separate file and attach it to a notebook cell (just write e.g. "attach path/to/filename.sage"). Then the notebook session knows all the functions I've defined in the file.
Hopefully this will work for you,
Niles
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.