Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed2a.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'xml,': 0.05; 'variables': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Help': 0.11; 'python': 0.11; 'jan': 0.12; 'project,': 0.12; 'wrote': 0.14; 'posted': 0.15; '(about': 0.16; '>on': 0.16; '>that': 0.16; 'basic.': 0.16; 'csv': 0.16; 'json,': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'rewrites': 0.16; 'subject:Programming': 0.16; 'files.': 0.16; 'wrote:': 0.18; 'year,': 0.18; 'bit': 0.19; 'work,': 0.20; 'code,': 0.22; 'url:home': 0.24; 'looks': 0.24; '(or': 0.24; 'post': 0.26; 'least': 0.26; 'header:X-Complaints-To:1': 0.27; '(which': 0.31; 'program,': 0.31; 'code': 0.31; '25,': 0.31; 'anyone': 0.31; 'worked': 0.33; 'fri,': 0.33; 'subject:with': 0.35; 'basic': 0.35; 'skip:u 20': 0.35; 'something': 0.35; 'etc': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'january': 0.37; 'too': 0.37; 'turn': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'days': 0.60; 'further': 0.61; 'back': 0.62; 'email addr:gmail.com': 0.63; 'subject:Need': 0.64; 'become': 0.64; 'more': 0.64; 'finish': 0.65; 'subject:Project': 0.84; 'reside': 0.91; 'subject:Science': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Need Help with Programming Science Project Date: Sat, 25 Jan 2014 09:42:20 -0500 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-217-213.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390660939 news.xs4all.nl 2969 [2001:888:2000:d::a6]:56985 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64745 On Fri, 24 Jan 2014 19:06:55 -0800 (PST), Rustom Mody declaimed the following: >On Saturday, January 25, 2014 8:12:41 AM UTC+5:30, kvxd...@gmail.com wrote: >> Alright. I have the code here. Now, I just want to note that the code was not designed to work "quickly" or be very well-written. It was rushed, as I only had a few days to finish the work, and by the time I wrote the program, I hadn't worked with Python (which I never had TOO much experience with anyways) for a while. (About a year, maybe?) It was a bit foolish to take up the project, but here's the code anyways: > > > >Ewwww! I think my reaction was more guttural -- > >If you (or anyone with basic python experience) rewrites that code, it will become >1/50th the size and all that you call 'code' will reside in data files. > >That can mean one of json, xml, yml, ini, pickle, ini, csv etc > >If you need further help in understanding/choosing, post back Heck, at the very least turn all those xxxx_99 variables into single lists.... The posted code looks like something from 1968 K&K BASIC. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/