Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'run,': 0.09; '.py': 0.16; 'finney': 0.16; 'readable': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reversed': 0.16; 'subject:python': 0.16; 'essential': 0.16; 'all.': 0.16; 'seems': 0.21; 'machine': 0.22; 'header:User-Agent:1': 0.23; 'distribute': 0.26; 'header:X-Complaints-To:1': 0.27; 'code': 0.31; 'url:wiki': 0.31; 'url:wikipedia': 0.31; 'writes:': 0.31; 'run': 0.32; "can't": 0.35; 'replies': 0.36; 'url:org': 0.36; 'effort': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'little': 0.38; 'obtain': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'course.': 0.60; 'temporary': 0.65; 'liberty': 0.84; 'received:125': 0.84; 'safety,': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: python obfuscate Date: Fri, 11 Apr 2014 13:12:27 +1000 References: <572b740c-0ce2-4c01-a4cd-30d2e2463f2b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xBD41714B X-Public-Key-Fingerprint: 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-gpg.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:kO66FCdJs7sH4UGE4PrH+CbEM9o= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397185960 news.xs4all.nl 2872 [2001:888:2000:d::a6]:46345 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70085 Wesley writes: > Umm, just wanna make all .py files not human readable. (Please don't top-post; instead, use interleaved replies 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