Relative Content

Tag Archive for pythonimportpackage

Best practice : how to hande all the imports in modules, __init__ and outisde scripts?

I have 10 Python scripts in a single main folder. Some use functions from other scripts. I access everything from a run_main_folder.py file outside. More scripts are to come so for scalability I want to make a new folder inside the main folder to put in scripts. Half of them will stay in place and the other half will go to the new folder, creating a package.