Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python 'compiles' to .pyc files, but I'm not show how much that compresses them, or if it's possible to reconstruct the source from it.


.pyc files are very reversible.

there are open source projects that decompile them to runnable code, the original symbol names are even intact - this means you don't lose the original naming of variables, functions, arguments, etc.


Doesn't stop you from obfuscating Python separately just like any other language, though.


They're fairly reversable out of the box. There are some modifications to cx-freeze which allow you to bundle your code in a way that makes it more difficult to reverse. What are you shipping that you need source code security with?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: