Masking .py file for deployment

I have used auto-py-to-exe for conversion resulting in a large .exe file which by many sources can be converted back to .py, is there a way to encrypt the file while conversion.
I do not want the .exe file to be used to get the .py file after deployment

As I know there is no effective method for this. Python wasn’t created for encypted code.

You will have to rewrite it in C, C++, Rust, Go or other language which is compiled to machine code.

© Copyright 2013-2021 Analytics Vidhya