Re: How to configure Python in Windows
- From: Steve Holden <steve@xxxxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 09:42:02 -0500
cosmo_general@xxxxxxxxx wrote:
Hi Folks,http://www.python.org/doc/faq/windows/
I just downloaded precompiled Python for Windows, and it runs. Now I
have got the command line coding. However, I can't run my python
scripts. My python script, foo.py, is located in C:\\....\pydir, and I
have set the python interpreter on the directory. When I run
os.listdir(), I found my script of foo.py is right in the pydir. But,
when I tried to run command-line python foo.py, to compile it, I got
"Syntax error: invalid syntax". I guess the interpreter did not find
my script foo.py. In the past, I worked python on unix/linux, and I
knew how set the path, and I ran my python scripts smoothly. I wonder
anybody can help me to configure the python interpreter? Thanks!
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
.
- References:
- How to configure Python in Windows
- From: cosmo_general
- How to configure Python in Windows
- Prev by Date: Re: pySQLite Insert speed
- Next by Date: Re: (Newbie) Help with sockets.
- Previous by thread: Re: How to configure Python in Windows
- Next by thread: Run wxPython app remotely under XWindows
- Index(es):
Relevant Pages
|