LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2005, 09:27 AM   #1
will103
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Ubuntu
Posts: 72

Rep: Reputation: 15
A text editor written in python?


Hi,

I was wondering if anyone knows of a simple text editor (command line interface) written in Python? I am learning python at the moment and was interested to see any examples of how a simple text editor would be constructed.

I have tried Google. I found one python-powered text editor but it used a gui.

Thanks in advance

will103
 
Old 06-29-2005, 12:59 PM   #2
NCC-1701&NCC-1701-D
Member
 
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88

Rep: Reputation: 16
Well, if you found a GUI based text editor, it should be simple to cut the general idea and pass it as a text editor. But should it really be python? You could easily write an editor in C.(Well, i prefer C than any interpeted language, but if you insist, I would use Java).I'm telling you that because I am unfamiliar with Python and I think it's easier in C.
 
Old 06-29-2005, 01:07 PM   #3
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
well, that was unhelpful, N-whoever . He wants to look at a python program- he's learning python - and there is nothing wrong with that! why should he want to learn C? he seems happy with python! You say you are unfamiliar with python- why even reply? every language is welcome in this forum- it is not a C only forum!
You seem to just want to wipe out a zero reply.

hey, will, have you seen freshmeat? http://freshmeat.net I have trawled throught that looking for python text editors for you, but there seems to be only gui ones... but you might find something.

titanium_geek

Last edited by titanium_geek; 06-29-2005 at 01:09 PM.
 
Old 06-29-2005, 01:25 PM   #4
NCC-1701&NCC-1701-D
Member
 
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88

Rep: Reputation: 16
Ok,sorry you are right! I found in sourceforge a good python text editor, called Concurrence (concurrence.sourceforge.org). Many users can manipulate a file simultenously and it uses the client-server model.
 
Old 07-01-2005, 03:34 AM   #5
will103
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Ubuntu
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks titanium_geek,

I have had a look around Sourceforge and Freshmeat as well but I can't find one. I have decided to look into a gui-based text editor called Pyword instead. Maybe I can strip out the gui park (TKinter) - should be a useful learning exercise

Thanks for your help.

Will103
 
Old 10-05-2008, 06:47 AM   #6
zanpusnik
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Python Text Editor

Hi

I was surfing through the Internet and found one simple text editor written in python, that can even save a text file. I found it on the Ubuntuforums, here's a link: http://ubuntuforums.org/showthread.p...5997&page=2#20

If for some reason the forum is unavailable, then you can download the .py file here: http://www.divshare.com/download/5518188-374

Enjoy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM
Python ID3 Tag Editor MCD_Thom Linux - General 2 10-12-2005 09:35 AM
A Python Editor Zuggy Programming 4 12-24-2004 05:59 AM
how to configure apache in Suse 9.1 t run cgi programmes written in python drako123 Linux - Software 0 08-21-2004 07:27 AM
eric3 QT python editor exception... cuboidz Linux - Software 0 02-08-2004 11:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration