Convert Python3.7 to exe [duplicate]

0

I'm creating a "game" with no graphical interface to distract me from the day-to-day schedule. Using Python3.7.0 and SQLite3.

I would like to 'protect' the source code of the game so that you can not make changes that circumvent game steps.

The only way I can do this is to convert the Python file into an executable, how can I convert it to an .exe?

    
asked by anonymous 11.10.2018 / 06:25

1 answer

0

You can use modules like Pyinstaller, py2exe, cxfreeze ... Among others.

How to turn a .py into an .exe?

a>

link

Even though your code is still vulnerable to disassembling, what you can do is obfuscate your code, using variables that make it difficult to understand, breaking readability, using different characters, and so on without impacting code.

There are tools that do this automatically, I do not know if it's the one applicable to what you want, but it's good for me to comment on it.

    
11.10.2018 / 14:21