On Mon, 29 Mar 2010 01:00:45 pm Oshan Modi wrote: > i am only a novice and just started programming.. i am having trouble > running a .py file in the command prompt.. if anyone of you could > help? Are you running Linux or Mac? At the command prompt, run: python myfile.py and report any errors. You can also run: which python and see what it says. -- Steven D'Aprano