473,586 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1774
st********@exe-coll.ac.uk wrote in message news:<ma******* *************** **************@ python.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3029
by: Jonathan Fine | last post by:
Hi I'm looking for a simple Python + Tk text editor. I want it as a building block/starting point. I need basic functions only: open a file, save a file, new file etc. It has to be open source.
1
3210
by: kelio | last post by:
I have a simple cgi-script on a server that prints all key-value pairs from a request. And it really works when i use a browser and type smth like http://server/cgi-bin/test?name=mike&johny=dummy. But when I use the following script, nothing is printed (like i type http://server/cgi-bin/test request in the browser). What is wrong about it?...
30
2890
by: bblais | last post by:
Hello, Let me start by saying that I am coming from a background using Matlab (or Octave), and C++. I am going to outline the basic nuts-and-bolts of how I work in these languages, and ask for some help to find out how the same thing is done in Python. I am not sure what the standard is. In C++, I open up an editor in one window, a Unix...
8
2295
by: Eric_Dexter | last post by:
I was looking for a simple way to load a simple python program from another python program. I tried os.system(cabel) The file name is cabel.py a csound instrument editor.. The error I am getting is
10
110187
true911m
by: true911m | last post by:
This is a simple walkthrough to get PyInstaller up and running. I decided to give PI a try, because it claims to be more selective about what it bundles into its executable files by default, and it also integrates UPX (Ultimate Packer for eXecutables) into the build process, if you have it installed. It also claims functionality on linux, as a...
4
34816
true911m
by: true911m | last post by:
Here's a little walkthrough to get py2exe up and running. I'm not an expert, so I can't help much with any problems you might have. This is what worked for me. The result here will be to convert a simple python app into a single .exe file that can be copied and run on any Windows XP machine. It may work on many other Windows platforms, but I...
11
1813
by: James Alan Farrell | last post by:
Hello, I recently installed new anti-virus software and was surprised the next time I brought up IDLE, that it was accessing the internet. I dislike software accessing the internet without telling me about it, especially because of my slow dial up connection (there is no option where I live), but also because I feel it unsafe. Can anyone...
7
2456
by: sami | last post by:
Hi I am trying to write a facebook application in python - I have been programming simple desktop applications till now and am not really familiar with web apps Pyfacebook is the wrapper for the REST based Facebook API - there is a simple example for its usage as shown below: def simple_web_app(request, api_key, secret_key):
4
14999
by: cosmid | last post by:
Hi, I am new to Python. Just started learning it. I am just trying to follow the book and run the example given in the book. I created a module by saving 2 python statements in notepad and saved the file in .py format just like the book said. the two statements are: print 2**8 print 'test' I saved the file as test.py. The book's example...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.