Ignoring comments - Parsing input file

Simon Faulkner news at titanic.co.uk
Sat Oct 12 11:44:45 CEST 2002


Thanks for the answers - it's all working beautifully :-)

Simon

On Sat, 12 Oct 2002 09:46:24 +0100, Simon Faulkner
<news at titanic.co.uk> wrote:

>I am writing a script which reads it's input from a text file
>
>What is the easiest way to make it ignore lines that start with # or
>blank lines?
>
>
>Simon




More information about the Python-list mailing list