newbie question: if var1 == var2:

Ethan Furman ethan at stoneleaf.us
Fri Dec 12 21:01:35 CET 2008


Andrew Robert wrote:
> Two issues regarding script.
> 
> You have a typo on the file you are trying to open.
> 
> It is listed with a file extension of .in when it should be .ini .

Pardon?

The OPs original post used .in both in the python code and the command 
line.  Doesn't look like a typo to me.

Out of curiosity, what types of .ini files have one text string per line 
without = ?  The ones I have seen follow this format:

[section name]
setting1 = a value
setting2 = another value

~Ethan~



More information about the Python-list mailing list