I have a folder in my folder called Commandus.folder. What I want to do is import all the modules into that folder, regardless of the name, the Python imports into the file. How can I do this?
from command import In the folder should create an empty file named " __ init __.py ", and your main app script should be in the "mentioned by you" folder.
However, note that "module import * is not recommended" because it may cause naming place pollution
read.
Comments
Post a Comment