python obfuscate

Ben Finney ben+python at benfinney.id.au
Thu Apr 10 23:12:27 EDT 2014


Wesley <nispray at gmail.com> writes:

> Umm, just wanna make all .py files not human readable.

(Please don't top-post; instead, use interleaved replies
<URL:https://en.wikipedia.org/wiki/Posting_style#Interleaved_style> to
make the conversation legible.)

You want the code not readable by which humans? Any code which is
readable by the machine is readable to the person who owns that machine,
given enough effort of course. And any obfuscation needs to be reversed
when the code is run, otherwise the machine reading it can't run it.

So it seems you don't want obfuscation; you want to not distribute the
code at all.

-- 
 \          “They who can give up essential liberty to obtain a little |
  `\            temporary safety, deserve neither liberty nor safety.” |
_o__)                                   —Benjamin Franklin, 1775-02-17 |
Ben Finney




More information about the Python-list mailing list