Need help with programming.

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Wed Oct 24 20:10:56 EDT 2001


----- Original Message -----
From: "Django" <heeroygw at aol.comnojunk>


> Hello. I've just begun using Python, and am now getting into simple
commands.
> Everytime I try to use  "else:" I get this message:
>
> SyntaxError: invalid syntax
> >>>

else: goes with if:.  Can you show us a sample of your source code which
does not work?

> I've tried retyping it, skipping it, etc. but it's really bothering me...
is
> there an alternative I can use for "else:" such as "or:"... Or am I typing
it
> wrong, or something? I tried browsing a few webpage's a bit, to hopefully
find
> an answer to my question, but I didnt find anything to help me out. Any
help
> would be very much appreciated. Thank you.

Show us the code, and we'll be happy to help.

> May I remind you that I AM NEW TO PYTHON, and COMPUTER LANGUAGES ALL
TOGETHER
> (Excluding HTML). I'M LEARNING PYTHON FOR SELF INTEREST, SO PLEASE NO
FLAMES..

Rest easy.  The Python community is much nicer than most.






More information about the Python-list mailing list