[Tutor] What am I doing wrong...

Ken Stevens ken at kenwstevens.net
Thu Dec 23 18:32:46 CET 2004


I am a elative new comer to python. I wrote the following test
snippet. 

#!/usr/bin/env python

def main ():
    play_test()

def play_test ():
    print "Hi! -- in play test"

When I do "python test.py" absolutely nothing happens. 

I expect it to do the print statement.

Thanks in advance for your help.

Ken



-- 
The horizon of many people is a circle with a radius of zero. They call 
this their point of view.
		-- Albert Einstein


More information about the Tutor mailing list