Python's driving me mad. Invalid token?

Erik Max Francis max at alcyone.com
Fri Oct 18 02:45:24 EDT 2002


Jim wrote:

>   File "C:\***\backup.py",
> line 42
>     MainProg()
>              ^
> SyntaxError: invalid token
> 
> Any idea at all on what this means?

It's an indentation problem; you're using inconsistent indentation
and/or mixed use of tabs and spaces which are confusing the interpreter.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ People are taught to be racists.
\__/ Jose Abad
    Max Pandaemonium / http://www.maxpandaemonium.com/
 A sampling of Max Pandameonium's music.



More information about the Python-list mailing list