newbie problem

Christopher Myers chris.myers at ingenta.com
Wed Aug 28 10:42:55 EDT 2002


Frank Buss wrote:
> 
> Christopher Myers <chris.myers at ingenta.com> wrote:
> 
> > #!/usr/local/bin/python
> > infile = open('inputfilenamehere').readlines()
> > for line in infile:
> >   if line[0] == "#":
> >     key = line.split()[2]
> >     continue
> 
> The continue statement is redundant, I think.

Indeed.  I noted that after I posted.  
Duly chastised.  Thanks.  ;)


> 
> --
> Frank Buß, fb at frank-buss.de
> http://www.frank-buss.de, http://www.it4-systems.de




-- 
Christopher Myers, Graduate Software Developer 
Ingenta, Inc.
12 Bassett St.
Providence, RI  02903
ph:  401.331.2014 x 102
em:  chris.myers at ingenta.com
aim: chrismyers001



More information about the Python-list mailing list