I have a python file that contains scripts using numpy functions.
I thought IPython has numpy already loaded, so I didn't import numpy in the file, when I do:
%run my_python_file.py
It fails due to the unknown functions from numpy
.
So, my question is that:
Is there a way to run the scripts in a Python file with the modules already imported by IPython?
Thanks alot!