Import Module from Another File in Cloud

asked 2015-03-05 13:51:27 -0500

j0nr gravatar image

Hi,

I am using Sage in the cloud. I have a project folder (obviously) and within that I created a worksheet and a sub-dir called "functions". Can I create files within "function" and then import modules from within those files in my main worksheet.

e.g. in top level main file:

import myFunc from functions/function_file.py

This would help keep things a bit tidier.

Thanks in advance.

edit retag flag offensive close merge delete