Hello forum,
It has been two days that i have started with python and i am stuck with the
following simple issue:
i have created a python file and inside the file i have defined a function
as follows:
////////////////////////////////////////////////////////////
def greeting():
print "Welcome to python"
///////////////////////////////////////////////////////////
I am following the Book named - "Rapid GUI programming with Python and Qt"
In the book they mentioned that in the command line if i type
greeting() i should get the output "Welcome to python"
But i get nothing.
Any hint on this?
Regards
Sajjad
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor