On Sat, Sep 18, 2010 at 11:46 AM, Steven D'Aprano <st...@pearwood.info> wrote:
> 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?

My crystal ball says, 'Hey buddy, pal', but after that it says, you
have to first assign python in windows, as an environmental variable
in windows, with C:\pythonversion. so you can type python in the cmd
prompt on windows, and have python interpreter come up.

>
>
>
> --
> Steven D'Aprano
> _______________________________________________
> Tutor maillist  -  tu...@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to