[Tutor] Problem with "elif"

Andrei Kulakov ak@silmarill.org
Sun, 25 Nov 2001 23:50:37 -0500


On Sun, Nov 25, 2001 at 10:46:19PM -0500, dman wrote:
> 
> They should, but why wait for a new release?  This is what Open Source
> is about :-).  You found a bug, you fix the bug (on your system), then
> you hope the maintainers include the fix in the next release.
> 
> (For example, when I had to use windows I found out that mutt saved
> attachments by opening the file in text mode.  Windows thus took great
> pleasure in destroying the file (by adding CR characters).  I fixed it
> in my copy so I could continute to use mutt, and then reported it to
> the developers.  I think the current version shipping with cygwin (it
> wasn't even shipped when I installed it) is fixed.)
> 
> -D

Hmm, I set sys.ps2 = "..." but it still don't show the dots.. 

>>> sys.ps2 = "..."
>>> if 1:
        do this
        
SyntaxError: invalid syntax
>>> if 1:
        print "yes"
else:
        print "no"

        
yes


> 
> -- 
> 
> If your company is not involved in something called "ISO 9000" you probably
> have no idea what it is.  If your company _is_ involved in ISO 9000 then you
> definitely have no idea what it is.
>                                 (Scott Adams - The Dilbert principle)
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

-- 
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org