Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:code': 0.07; 'falls': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'window?': 0.09; 'python': 0.11; 'door,': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'restrict,': 0.16; 'specific,': 0.16; 'subject:possible': 0.16; 'term.': 0.16; 'wait.': 0.16; 'subject:python': 0.16; 'prevent': 0.16; 'code.': 0.18; 'header:User-Agent:1': 0.23; 'adds': 0.24; 'subject: .': 0.24; 'looks': 0.24; 'source': 0.25; 'header:X -Complaints-To:1': 0.27; "doesn't": 0.30; 'writes:': 0.31; 'regular': 0.32; 'guess': 0.33; 'something': 0.35; 'doubt': 0.36; 'subject:?': 0.36; 'too': 0.37; 'ben': 0.38; 'to:addr:python- list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'guy': 0.60; 'high': 0.63; 'term': 0.63; 'more': 0.64; 'skip:\xe2 10': 0.65; 'sam': 0.68; 'risk': 0.72; '8bit%:46': 0.78; 'protect': 0.79; 'subject:source': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: Is it possible to protect python source code by compiling it to .pyc or .pyo? Date: Fri, 17 Jan 2014 12:07:26 +1100 References: <7bf45fc1-e1c4-44f2-812c-e11ffa2c8ef3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: rasputin.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 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:Oi6JAeRdhlOf+ymPVv3nOGPFBTI= 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: 1389920858 news.xs4all.nl 2871 [2001:888:2000:d::a6]:41707 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64126 Sam writes: > I would like to protect my python source code. Protect it from what? If there's some specific activity you want to prevent or restrict, please say what it is, since “protect” is a rather loaded term. > It need not be foolproof as long as it adds inconvenience to pirates. I doubt your software will be at risk from pirates, which are raiders on the high seas. If you mean something more specific, please explain, because “pirate” is an even more loaded term that doesn't explain. -- \ “Instead of a trap door, what about a trap window? The guy | `\ looks out it, and if he leans too far, he falls out. Wait. I | _o__) guess that's like a regular window.” —Jack Handey | Ben Finney