See also the answer to your question for Jupyter at http://ask.sagemath.org/question/32474/how-to-import-the-file-functionpy-to-worksheet-sage-sagemath-loaded-by-virtual-machine-virtualbox/
On Saturday, February 6, 2016 at 6:36:02 PM UTC-5, kcrisman wrote: > > > I want to import a file function called "function.py" to my Worksheet. How >> to do? >> > > I don't use the VM solution, but likely we'd want to know where your file > is located, whether you are using the notebook interface or the Jupyter > notebook or the command line, etc. in order to say how to load that. In > the Sage NB (not Jupyter) the "best" way is to actually upload the file to > the Data of the worksheet, though you can also probably use "load" to load > it from the VM filesystem (untested by me). > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
