Picture of Using Gedit as a Python IDE
If you've ever used Ubuntu, or Gnome for that matter, you're probably familiar with gedit. Gedit is a wonderful basic text editor, especially if you've come from Windows and Notepad!

It has tabs, syntax highlighting, and when you use some plugins, you can get all the features of other Python IDE's. Best of all, since it has the syntax highlighting for most languages, and its your basic text editor, you can use it to edit all your files, instead of having x open for your C programs, y open for your configuration file editing, and z open to do your javascripting. When I use python to do web work, this helps, since I have python, JS, HTML, and CSS all open at once.

Remove these adsRemove these ads by Signing Up

Step 1: Changing Preferences

Picture of Changing Preferences
Open up gedit,

The rest of the instructable is based in here.

First, you'll want to set up settings in the "View" tab.
I highly reccomend Text Wrapping, Line Numbers (for Debugging), and Bracket Matching. The Current Line highlighting annoys some people, and I hate that margin, but go ahead and add it if you like it.

In the Editor tab, you'll want to check off the first 2 boxes and set the Tab width to 4 if you're using python, as that's the standard. (Python uses tabulation instead of { and } brackets)
If you're not going to use it for Python, set the value to whatever you like.

For File Saving, you can do whatever you like.
endolith6 years ago
I like IPython for interactive work a lot better than the default. Is there a way to include this as the console instead?
Toulouse7 years ago
the nice thing about geany is that it's pretty simple -- it's NOT project based like many ide's -- anyways, gedit is probly simpler
Toulouse7 years ago
there's a cool lightweight ide called "geany" that i have just started using for java, but it supports python, c ,c++, blah blah and blah as well. it's in the repo's!
zachninme (author)  Toulouse7 years ago
Its not that there aren't any avaible, its just I hate them all. They're too cluttered. This, its JUST the text editor, and I can use Yakuake/Tilda as a pull-down terminal, which also stays out of the way.