Say I have some python modules:
mymodule1.py
mymodule2.py
mymodule3.py
mymodule4.py
...
Can I iteratively import them?
This attempt doesn't work.
for x in range(1,5):
mymod = 'mymodule' + repr(x)
import mymod
Also, is there any reason why doing this is ill-advised?