SV: Running test01.py under Windows (basic level)
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Fri Feb 29 01:07:47 EST 2008
En Fri, 29 Feb 2008 02:38:04 -0200, K Viltersten <tmp1 at viltersten.com>
escribió:
>>> 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.
--
Gabriel Genellina
More information about the Python-list
mailing list