thanks, but i couldn't call it that way. had to put in the lines
if__name__=="__ main__":
spell(raw_input (""))
at the end.found this in someone's program :P. now it works just the way i wanted.
this thread is answered.
User Profile
Collapse
-
suhas bose started a topic need help regarding creating a .py file and executing it using the shell(GUI).in Pythonneed help regarding creating a .py file and executing it using the shell(GUI).
hi, I've read through a couple threads related to my question but i guess i haven't been able to find the right one. so here's my question again..
need the right format to create a .py file( actually i did create a .py file! :P but the thing is i'm not sure if it's executable). My file has a function defined in it and that is all. am i supposed to add extra commands into it before saving the file? because when i type .py file name in the...Last edited by Niheel; Mar 21 '11, 08:06 PM.
No activity results to display
Show More
Leave a comment: