Ignoring comments - Parsing input file

Simon Faulkner news at titanic.co.uk
Sat Oct 12 04:46:24 EDT 2002


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