How to set up SciTE 2.23 with Python 3,x

Once you have downloaded SciTE and installed it, click on its shortcut to open an editor session. Next, if you don’t have line numbers showing at start-up, click on the view menu, and then click on Line Numbers to activate. After that is done, click on the Options menu and select python properties, to get the python properties file. the lines to edit in the file are 86 AND 99, starting from line 85 this is what the code should look like:

if PLAT_WIN
command.go.*.py=c:\python31\pythonw -u “$(FileNameExt)” <—————————– (if your Py install is in a different location, use that between the equal sign and -u)
command.go.subsystem.*.py=1
command.go.*.pyw=pythonw -u "$(FileNameExt)"
command.go.subsystem.*.pyw=1
command.build.SConscript=scons.bat –up .
command.build.SConstruct=scons.bat .

if PLAT_GTK
command.go.*.py=python -u "$(FileNameExt)"
command.build.SConscript=scons –up .
command.build.SConstruct=scons .

command.name.1.*.py=Syntax Check
command.1.*.py=c:\python31\python -c "import py_compile; py_compile.compile(r'$(FilePath)')" <———– (put your path between the equal sign and -c)

That's it, save the file, restart SciTE and test with a short module, and your ready to go.

Advertisements

,

  1. Leave a comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: