How would you build a text editor in Python?
-
-
Answer:
Use PyQt4! Building stuff using PyQt4 is very easy and quick. Ample documentation is available for Qt(C++) and utilizing the same functions in PyQt is a piece of cake. For a simple introduction, check out http://zetcode.com/gui/pyqt4/.
Vaibhav Tulsyan at Quora Visit the source
Other answers
What you need to build a text editor? There are several good text editors available freely. If you need ti build one, PyQt4 shall be a library to be considered. It has a QTextEdit class which can be a good skeleton for building a text editor.
Mico Siahaan
Try Python Curses.. it has ample examples and documentation online.. http://docs.python.org/2/howto/curses.html
Nitin Deshpande
With little knowledge of python you can make your own Text Editor . Follow this tutorial @http://www.binpress.com/tutorial/building-a-text-editor-with-pyqt-part-one/143 . It involves only the script part. In addition: GUI: For Gui creation I would recommend @https://glade.gnome.org/ . Its very user friendly and free too .Glade will create XML file for your text editor. Fonts : Pango can be used. It looks really pretty. Compiler : Compiler inclusion can be done using subprocess package available in python.
Abhishek Bind
Related Q & A:
- How to extract information from text file in Python?Best solution by Stack Overflow
- How do I build a snowboard box?Best solution by ehow.com
- How to you build a rail that you can grind with a snowboard?Best solution by Yahoo! Answers
- How can you become a magazine editor?Best solution by Yahoo! Answers
- How do you become a Magazine editor or writer?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.