On Sun, 19 Sep 2010 12:16:47 am Fernando Karpinski wrote: > Hi, everyone. I need help when importing a file I created, with > the .py extension. I am trying to access its directory in DOS, and > after I do it, I type "import filename", but it is not working.
Define "not working". My crystal ball tells me that you're trying to run import filename at the DOS prompt, rather than in the Python interpreter. Is my crystal ball accurate? -- Steven D'Aprano _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor