Is it possible to call a function gui.settings.load()
after from ... import gui
? I am trying to set a folder like this.
main.py
gui/
__init__.py
settings.py
And in settings.py
def load():
print('Hello')
In main.py
import gui
gui.settings.load()
Do I have to mess with __init__.py
?
For now, I have to name the file guiSettings.py
instead, which I want to make it more simple.