Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use Data -> Upload to upload your python file, say, myfile.py. Then, in a cell, type

load(DATA + 'myfile.py')

This will load your python file. If you want to only import certain objects then you can write the following in a cell

os.environ['PYTHONPATH'] += DATA
from myfile import myfunction