[Tutor] Help with parsing
alan.gauld at btinternet.com
Tue Sep 19 10:47:01 CEST 2006
I missed the OP on this so if its already been done
to death, my apologies. But its such an important
point I'll risk repeating it...
> Bryan Leber wrote:
>> then exit. Right now I have something like this
>> Size = len(argsList)
>> If size = 4
This is obviously pseudo code but in future when posting
it would be better to send real code samples.
Python is case sensitive, so the above pair of lines will
fail since Size and size are different variables.
This could lead a tutor off down a blind alley if you don't
send real code (or at least syntactically correct code!).
>> For i in argsList
Similarly 'for' needs to be lowercase, etc etc...
More information about the Tutor