First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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