You are here: PSPad forum > English discussion forum > Python Configuration

Python Configuration

#1 Python Configuration

Posted by: wow39001 | Date: 12/07/2006 13:07 | IP: IP Logged

Could anyone can tell me how to configurate PSPad, so I can use it as python IDE?winking smiley
Thanks!

Options: Reply | Quote | Up ^


#2 Re: Python Configuration

Posted by: vbr | Date: 12/07/2006 20:21 | IP: IP Logged

Try Settings :: Highlighters settings :: Python :: Compiler
Compiler:
e.g.: C:\Python25\python.exe

Parameters:
"%File%"

[x] Capture program output window

Log parser

*file %F *line %L*

Then you should be able to run *.py files from within PSPad (File :: Compile (Ctrl+F9)).

Options: Reply | Quote | Up ^


#3 Re: Python Configuration

Posted by: The Jumping Cat | Date: 03/22/2007 18:11 | IP: IP Logged

Is there a way to run Python scripts from PSPad in the interactive mode like IDLE does it when one presses F5?

Options: Reply | Quote | Up ^


#4 Re: Python Configuration

Posted by: ph | Date: 10/18/2007 03:28 | IP: IP Logged

I have tried what you suggested, but only got the following error message in the Log window:
------------------------------------------------
C:\Program Files\Python25\python.exe: can't open file '%FullFileName%': [Errno 2] No such file or directory

Process completed, Exit Code 2.
------------------------------------------------
Note that I used %FullFileName% because when it did not work with %FileName% (same error message) I thought the problem might be that python can't find the location of the file.

Also note that I am a new user of PSPad, and I am not familiar with the way to compile/run code from it.

Any help would be appreciated.
Thanks
ph

Options: Reply | Quote | Up ^


#5 Re: Python Configuration

Posted by: pspad | Date: 10/18/2007 06:41 | IP: IP Logged

Ensure you put double quote arround "%Fullfilename%" parameter in compiler/external applicaton settings

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2014 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák