Can't Open PY Files
derek / nul
abuseonly at sgrail.org
Fri Sep 5 00:37:38 CEST 2003
On Thu, 4 Sep 2003 21:35:05 +1000, "Roger Booth" <rogerb at netspeed.com.au> wrote:
>I've recently downloaded and installed Python23 and am having trouble getting it to function.
>I've set the Windows 2000 path variable "C:\Python23" but when I type "python" in a dos command line I get a message saying
> "'PYTHON' is not recognized as an internal or external command, operable program of batch file".
>It does open when I type in the full path, and via Start\Programs\Python23, but when I enter "import 'filename'" from a file's home
> directory, I get a message saying: "no module named 'filename'".
While in your dos box, what is the output of path? Is the python path on the
I have to call python file like this python myprogram.py
More information about the Python-list