It is possible to import custom Python libraries.
To import and use a custom .py file
To use the custom .py script, execute the following (e.g. myscript.py is the name of the .py file):
import myscript myscript.calculate(1, 5)