I have a code that I wish to split apart into multiple files. In matlab one can simply call a .m file, and as long as it is not defined as anything in particular it
.m
Python has importing and namespacing, which are good. In Python you can import into the current namespace, like:
>>> from test import disp >>> disp('World!')
Or with a namespace:
>>> import test >>> test.disp('World!')