You are here:About>Computing & Technology>Python> Beginning Python> Python Editors> Python Text Editors - Choosing a Text Editor for Python Programming
About.comPython
Newsletters & RSSEmail to a friendSubmit to Digg

Choosing a Text Editor for Python Programming

From Al Lukaszewski,
Your Guide to Python.
FREE Newsletter. Sign Up Now!

What is a Text Editor?

To program Python, most any text editor will do. A text editor is a program that saves your files without formatting. Wordprocessors such as MS-Word or OpenOffice.org Writer include formatting information when they save a file -- that is how the program knows to bold certain text and italicize others. Similarly, graphic HTML editors do not save emboldened text as bold text but as text with a bold attribute tag. These tags are meant for visualisation, not for computation. Therefore, when the computer reads the text and tries to execute it, it gives up, crashing, as if to say, "How do you expect me to read that?" If you do not understand why it might do this, you may want to revisit how a computer reads a program.

The main point of difference between a text editor and other applications that allow you to edit text is that a text editor does not save formatting. So, it is possible to find a text editor with thousands of features, just like a wordprocessor. The defining characteristic is that it saves the text as simple, plain text.

Other tutorials in this series: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

  1. What is a Text Editor?
  2. Some Criteria for Choosing a Text Editor
  3. Recommended Text Editors

Previous | Next >>

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.