I have a flask web-application, and I would like to order the *.pi files into Python packages (folders with init file.py).
On localhost, everything runs well, but on server I've got:
'ModuleNotFoundError: No module named <my_module_name>'
<my_module_name> is the name of the .py file I'd like use like this:
import <name_of_py_file>
Why is does work on localhost, and why does not work on server?
I use CPANEL server.
Thank you in advance:
On localhost, everything runs well, but on server I've got:
'ModuleNotFoundError: No module named <my_module_name>'
<my_module_name> is the name of the .py file I'd like use like this:
import <name_of_py_file>
Why is does work on localhost, and why does not work on server?
I use CPANEL server.
Thank you in advance: