Request for simple a customisable Python editor

S

stephenlee

I want to develop a simple Python program to edit source code that is
persisted in a database (memo fields).
The code to be edited is iHTML and SQL and I want syntax colouring and good
basic features including tabs for multiple 'files' and searching.
It will be a Win32 deployment.

My question is can anyone recommend a good Python editor program that I can
use as a starting point for customisation?
I'd like to base it on Scintilla and wxPython (though I really want the
easiest/fastest solution). Or does something already exist?
I prefer to keep it simple and focused on our requirements so an full
python IDE is probably not a good starting point. :)
The requirements are bound to grow so a good architecture is important.
Obviously I'll need source to add the required DB connectivity.

So far I have Dave Kuhlman's wxEditor and Patrick O'Brien's Py family
shortlisted.

Cheers

Steve Lee
This mail has been scanned by Nortons Anti Virus Version 8 for Lotus Notes
 
P

Paul Clinch

I want to develop a simple Python program to edit source code that is
persisted in a database (memo fields).
The code to be edited is iHTML and SQL and I want syntax colouring and good
basic features including tabs for multiple 'files' and searching.
It will be a Win32 deployment.

A quick check of the python package index (www.python.org/pypi)
reveals PyPE (http://pype.sourceforge.net/) an editor written in
python with wxwindows.

Also the CUTE User-friendly Text Editor is a scintilla and QT based
code editor, which can be extented using the python scripting
language.

The project page of CUTE is http://cute.sourceforge.net.

pyscinitilla provides an interface to the popular scintilla code
editor at http://wingide.com/opensource/pyscintilla .

Regards, Paul Clinch
 
B

Ben Finney

I want to develop a simple Python program to edit source code that is
persisted in a database (memo fields).
The code to be edited is iHTML and SQL and I want syntax colouring and
good basic features including tabs for multiple 'files' and searching.
It will be a Win32 deployment.

Much better would be to allow the editor used to be chosen by the user,
and supply a reasonable default. Editors are powerful beasts, and
forcing someone familiar with one to use a different one for your
application is not a user-friendly design choice.

Pick an editor that you think is a good default, but invoke it with a
command-line only, *don't* build it into your application. That way,
you can provide a customisation option to change the editor command
line, and the user can substitute their favourite editor if they choose.
 
S

Steve Lee

Much better would be to allow the editor used to be chosen by the user,
and supply a reasonable default. Editors are powerful beasts, and
forcing someone familiar with one to use a different one for your
application is not a user-friendly design choice.

Pick an editor that you think is a good default, but invoke it with a
command-line only, *don't* build it into your application. That way,
you can provide a customisation option to change the editor command
line, and the user can substitute their favourite editor if they choose.

A nice idea and I agree that we all have our own fave editor.
However I had thought of making the opening of the data from the
database 'look' similar to opening a file which suggests tweeking the
'open' UI of an existing editor. I think your idea requires selecting
files first and then invoking the editor.

I'll give it some thought as I am not really opposed to such a method
of opening files - thanks for the idea.

Steve
 
F

Follower

This mail has been scanned by Nortons Anti Virus Version 8 for Lotus Notes
So, did it find Lotus Notes in the message? :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,920
Members
47,464
Latest member
Bobbylenly

Latest Threads

Top