First time here? Check out the FAQ!
answered 9 years ago
Let me assume that you use jupyter notebook (the behaviour depends on the interface), you can do:
%attach /path/to/function.py
or (inlining the content)
%load /path/to/function.py