[Tutor] Help this newbie

tiger12506 keridee at jayco.net
Sat Mar 22 04:38:28 CET 2008

This is Windows I presume?


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 at 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.

Windows Live Hotmail is giving away Zunes. Enter for your chance to win.

Tutor maillist  -  Tutor at python.org

More information about the Tutor mailing list