I would like to embed a script file full of often used defs into other script files. For example, I would like test.py to load the contents of defs.py (which is in the same folder) into itself in line.
When I try adding
import defs
into the body inside test.py I get error "No module named defs"