Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'classes,': 0.05; 'classes.': 0.07; 'scripting': 0.09; 'thread': 0.12; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'refactoring': 0.16; 'subject:Tools': 0.16; 'tool.': 0.16; 'pointed': 0.17; 'wrote:': 0.19; 'file.': 0.21; 'header:In-Reply-To:1': 0.22; 'somebody': 0.23; 'code.': 0.23; 'distribute': 0.26; 'header:User- Agent:1': 0.26; 'tools,': 0.27; 'subject:/': 0.27; 'header:X -Complaints-To:1': 0.29; 'modules': 0.30; 'wonder': 0.30; 'tool': 0.32; 'received:com.au': 0.32; 'code': 0.32; 'clear': 0.34; 'am,': 0.34; 'mainly': 0.34; 'to:addr:python-list': 0.35; 'done': 0.35; 'things': 0.35; 'there': 0.36; 'received:org': 0.36; 'but': 0.37; 'why': 0.37; 'subject:: ': 0.37; 'some': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'different': 0.62; 'anyway,': 0.65; 'secret,': 0.84; 'received:110': 0.96 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lie Ryan Subject: Re: Tools for refactoring/obfuscation Date: Sat, 31 Mar 2012 16:18:47 +1100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 110-175-240-90.static.tpgi.com.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333171140 news.xs4all.nl 6913 [2001:888:2000:d::a6]:46887 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22407 On 03/29/2012 03:04 AM, Javier wrote: > Yes, in general I follow clear guidelines for writing code. I just use > modules with functions in the same directory and clear use of name > spaces. I almost never use classes. I wonder if you use some tool for > refactoring. I am mainly intersted in scripting tools, no eclipse-style > guis. > > Just let me know if you use some scripting tool. > > And, as somebody pointed in this thread obfuscating or refactoring the > code are very different things but they can be done with the same tools. if you're not using classes, your code is obfuscated already Anyway, I think it's better if you describe why you want such a tool. If you want to keep your code a secret, just distribute the .pyc file. If you want to refactor your code to improve readability, there is rope.