First time here? Check out the FAQ!
answered 2016-02-07 00:03:59 +0100
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