This is Windows I presume? Try:
cd\python25 python C:\Elliot\filename.py But for windows you shouldn't have to. You can just double-click the file. On the other hand, if you mean 'import' as it means in the context of the actual python language, then you would put the line "import filename" at the top of a script which is supposed to use your module. ----- Original Message ----- From: Elliot Silvers To: tutor@python.org Sent: Thursday, March 20, 2008 9:21 PM Subject: [Tutor] Help this newbie I am as new as you can get to Python. I have just learned how to save my work (very simple work of course). I created a folder on C:\ (in this case C:\Elliot) for my work. I am able to use the cmd prompt to run it (cd \Elliot -> C:\Elliot 'filename.py') however I cannot figure out how to import it using the python (command line). Please help. There is most likely a very simple solution. I have just not been able to figure it out. Thanks Elliot Windows Live Hotmail is giving away Zunes. Enter for your chance to win. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor