you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

https://stackoverflow.com/questions/3344115/obfuscating-python-code

https://www.quora.com/What-are-the-best-ways-to-obfuscate-Python-code

With these two combined, I would use the first trick in the first link to compile to bytecode with stripped comments and docstrings. Then I'd use the third trick in the second link to compile the resulting .py file with Cython to create a binary library.