newbie problem

Frank Buss fb at frank-buss.de
Wed Aug 28 15:44:31 CEST 2002


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.

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



More information about the Python-list mailing list