Lee Gold wrote:
----- Original Message -----
From: "Robert Roessler" <[EMAIL PROTECTED]>
To: "Discussion of the SciTE editor" <[email protected]>
Subject: Re: [scite] The system cannot find the file specified
Date: Sat, 25 Aug 2007 21:51:23 -0700


Lee Gold wrote:
I hit Go for a Python program and I get: "The system cannot find the file specified"

I see the FAQ entry but still do not understand what to do. 1. Exactly what file do I give it a path to?

2. Exactly where do I enter this path so Scite will know?
0) make sure you have an installed and working Python

Yes it works fine in PythonWin editor.

Good.  So you are on Windows...

1) you probably want the main Python executable [directory] on your path

C:\Python21\python.exe

or
C:\Python21\pythonw.exe

Which one please?

Personally, I would bet on the pythonw, myself.

2) the last few chunks of python.properties

Exactly where? I tried a few variations w/no luck.

Properties files are fairly readable, especially the things you need to tweak. ;)

When looking at the end of the python.properties file, you will notice that there are two "if" blocks... since we have established that you are on Windows, the "if PLAT_WIN" looks interesting, right?

So there are two lines that might make sense for you to adjust: 76 and 78. Just insert the "C:\Python21\" from your text above in front of the occurrences of "pythonw" on these two lines, then save python.properties and restart SciTE for good measure (the restart may not be required).

BTW, I am not a Python-head like Neil, but version 2.1 may be a bit old?

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to