[Tutor] getting started

Gregor Lingl glingl@aon.at
Fri Nov 15 13:55:02 2002


alan.gauld@bt.com schrieb:

>>If you are really desperate to run a few lines at once
>>in interactive mode, you can do this with a little trick:
>>
>> >>> if 1 == 1:
>>         print "aaa"
>>         print "bbb"
>>         print "ccc"
>>
>>    
>>
>
>I like it Magnus! I hadn't thought of that before...
> 
>Alan G.
>  
>

Me too! But why not

 >>> if 1:
               print "aaa"
               print "bbb"
etc.

Gregor

>_______________________________________________
>Tutor maillist  -  Tutor@python.org
>http://mail.python.org/mailman/listinfo/tutor
>
>
>  
>