471,578 Members | 1,286 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,578 software developers and data experts.

Request for simple a customisable Python editor

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
Jul 18 '05 #1
2 1702
st********@exe-coll.ac.uk wrote in message news:<ma************************************@pytho n.org>...
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
Jul 18 '05 #2
On Fri, 7 Nov 2003 11:43:54 +0000, st********@exe-coll.ac.uk wrote:
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.

--
\ "One thing vampire children have to be taught early on is, |
`\ don't run with a wooden stake." -- Jack Handey |
_o__) |
Ben Finney <http://bignose.squidly.org/>
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Jonathan Fine | last post: by
30 posts views Thread by bblais | last post: by
true911m
4 posts views Thread by true911m | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Vinnie | last post: by
1 post views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.