Hi Ken,

Welcome to python!

Adding one line should do it for you:

On Thu, 23 Dec 2004, Ken Stevens wrote:

> 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"

main()


> 
> When I do "python test.py" absolutely nothing happens. 
> 
> I expect it to do the print statement.
> 
> Thanks in advance for your help.
> 
> Ken
> 
> 
> 
> 

-- 

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to