Is it possible to protect python source code by compiling it to .pyc or .pyo?

Sam lightaiyee at gmail.com
Thu Jan 16 19:58:48 EST 2014


I would like to protect my python source code. It need not be foolproof as long as it adds inconvenience to pirates.

Is it possible to protect python source code by compiling it to .pyc or .pyo? Does .pyo offer better protection?




More information about the Python-list mailing list