I have a question about Python projects. I have many projects structured like this:
Project Folder
| main.py
| resources
| | module1.py
| | module2.py
And I'm using this module1.py
and module2.py
in my main.py
application and it all works perfectly fine. But I don't know how to make these modules unreadable (hide them). When you see an application, it's usually full of files that you can't open and see what they are doing, that's what I need. I don't want people to be able to see what these files are doing.
Edit: I need this because in one of my projects, I have a file of database connection that has to be in another file and I need a way to hide its information.