Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42421

Re: Help with python code!

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gerrymcgovern@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.066
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'subject:code': 0.07; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'subject:python': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'header :User-Agent:1': 0.23; '31,': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'chris': 0.29; 'am,': 0.29; 'then.': 0.30; 'code': 0.31; 'comments': 0.31; 'reply.': 0.31; 'comments,': 0.31; 'up:': 0.31; 'figure': 0.32; 'cases': 0.33; 'subject:with': 0.35; 'received:209.85': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'explains': 0.36; 'thanks': 0.36; 'should': 0.36; 'received:209': 0.37; 'clear': 0.37; 'does': 0.39; 'skip:u 10': 0.60; 'read': 0.60; 'from:no real name:2**0': 0.61; 'interview': 0.61; 'march': 0.61; 'simply': 0.61; 'back': 0.62; 'lack': 0.78; 'replies.': 0.84; '2013': 0.98
X-Received by 10.49.97.166 with SMTP id eb6mr627109qeb.0.1364766066074; Sun, 31 Mar 2013 14:41:06 -0700 (PDT)
Newsgroups comp.lang.python
Date Sun, 31 Mar 2013 14:41:06 -0700 (PDT)
In-Reply-To <mailman.4031.1364765746.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=99.233.107.10; posting-account=9KhqJwoAAACtxd9fjX3ptGbRoyWSd7VI
References <37f23623-8bf5-421a-ab6a-34ff622c69f1@googlegroups.com> <mailman.4027.1364762359.2939.python-list@python.org> <2912c674-e30b-4339-9344-1f460cb96b23@googlegroups.com> <roy-AA2630.17134931032013@news.panix.com> <4455829d-5b4a-44ee-b65f-5f72d429ba9c@googlegroups.com> <mailman.4031.1364765746.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 99.233.107.10
MIME-Version 1.0
Subject Re: Help with python code!
From gerrymcgovern@gmail.com
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.4033.1364766631.2939.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364766631 news.xs4all.nl 6989 [2001:888:2000:d::a6]:36615
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42421

Show key headers only | View raw


On Sunday, March 31, 2013 5:35:38 PM UTC-4, Chris Angelico wrote:
> On Mon, Apr 1, 2013 at 8:21 AM, jojo  wrote:
> 
> > Thanks for your replies. Just to be clear this is for a interview and they would like me to figure out what the code does and come back with some test cases
> 
> 
> 
> That explains the utter lack of comments, then. In well-maintained
> 
> code, you would simply read through the comments to get an idea of
> 
> what it does.
> 
> 
> 
> A couple of key things to look up: glob.glob and os.popen. When you
> 
> know what they do, you should be able to get a broad understanding of
> 
> the whole program.
> 
> 
> 
> ChrisA

OK perfect Chris. Thanks for your reply.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help with python code! jojo <gerrymcgovern@gmail.com> - 2013-03-31 13:10 -0700
  Re: Help with python code! Chris Angelico <rosuav@gmail.com> - 2013-04-01 07:39 +1100
    Re: Help with python code! jojo <gerrymcgovern@gmail.com> - 2013-03-31 14:06 -0700
      Re: Help with python code! Roy Smith <roy@panix.com> - 2013-03-31 17:13 -0400
        Re: Help with python code! jojo <gerrymcgovern@gmail.com> - 2013-03-31 14:21 -0700
          Re: Help with python code! Roy Smith <roy@panix.com> - 2013-03-31 17:27 -0400
            Re: Help with python code! gerrymcgovern@gmail.com - 2013-03-31 14:32 -0700
              Re: Help with python code! Alister <alister.ware@ntlworld.com> - 2013-04-01 17:54 +0000
            Re: Help with python code! rurpy@yahoo.com - 2013-03-31 14:46 -0700
          Re: Help with python code! Chris Angelico <rosuav@gmail.com> - 2013-04-01 08:35 +1100
            Re: Help with python code! gerrymcgovern@gmail.com - 2013-03-31 14:41 -0700
            Re: Help with python code! gerrymcgovern@gmail.com - 2013-03-31 14:41 -0700
          Re: Help with python code! Jason Friedman <jsf80238@gmail.com> - 2013-04-02 21:59 -0600
      Re: Help with python code! Chris Angelico <rosuav@gmail.com> - 2013-04-01 08:21 +1100
        Re: Help with python code! gerrymcgovern@gmail.com - 2013-03-31 14:24 -0700
        Re: Help with python code! gerrymcgovern@gmail.com - 2013-03-31 14:24 -0700
      Re: Help with python code! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-31 23:02 +0100
      Re: Help with python code! Chris Angelico <rosuav@gmail.com> - 2013-04-01 09:04 +1100
    Re: Help with python code! jojo <gerrymcgovern@gmail.com> - 2013-03-31 14:06 -0700
  Re: Help with python code! Roy Smith <roy@panix.com> - 2013-03-31 17:08 -0400

csiph-web