SV: SV: Running test01.py under Windows (basic level)

K Viltersten tmp1 at viltersten.com
Sat Mar 1 14:36:42 CET 2008


>>>> def bloppA ():
>>>>     print "a very advanced piece of code"
>>>
>>> go to File -> Open, open your saved file,
>>> and use the Run menu (or press F5).
>>
>> When i try that i get this.
>>
>>>>> ====== RESTART =======
>>>>>
>>
>> And nothing more. Do i use wrong "print"?!
> 
> You *defined* a function, but aren't *executing* 
> it. Append a line:
> 
> bloppA()
> 
> and try again.


Rookie mistake. Thank you.

-- 
Regards
Konrad Viltersten
--------------------------------
sleep    - a substitute for coffee for the poor
ambition - lack of sense to be lazy




More information about the Python-list mailing list