21

I know this is perhaps slightly dodgy teritory, but I'm going to go ahead.

I'm wondering which of the many python IDEs/interactive shells are best suited to the RPi? By this I mean low RAM, and fairly low memory on the SD.

If anyone has any other factors they think this should include, please do comment.

ACarter
  • 2,350
  • 6
  • 25
  • 39

5 Answers5

7

On other computers I use Eclipse with PyDev installed but I judge Eclipse to be too big to run on the Raspberry Pi.

A Python IDE needs to give me the following three things,

  • Python colorizing
  • smart indenting
  • debugger

I would suggest using IDLE for a quick and simple way to get Python colorizing and smart indenting. As far as a debugger is concerned you can use Winpdb (simply open your Python files with it and you have all the debugging control and insight that you would get on PyDev).

Winpdb comes installed on the Debian Squeeze distribution from the Raspberry Pi website. IDLE does not come installed on Debian Squeeze but can be easily installed using sudo apt-get install idle.

Andrew Fogg
  • 5,873
  • 8
  • 25
  • 28
6

I'd go with bash using vi or nano. Emacs would probably be be fine too.

While these are not in the literal sense IDEs, with the right setup you can achieve the functionality of an IDE with a smaller footprint. I'll be honest, I have no idea what the resource requirements of the "proper" IDEs like IDLE require, but as they are windowed environments, it strikes me that they'll use a lot more resources up than a simple text editor with syntax highlighting, and a command line for running the code.

Martin Thompson
  • 447
  • 3
  • 11
3

Raspberry Pi is great but yes, it has limitations. That's fine. We work within that, and thats what its all about. So...

Why not just use IDLE? It has/does pretty much everything you need. * Its small, it was designed for Python * cross-platform: works on Windows and Linux * multi-window text editor with multiple undo * Python colorizing and many other features, e.g. smart indent and call tips * Python shell window (a.k.a. interactive interpreter) * debugger (not complete, but you can set breakpoints, view and step)

Its the best way, really.

~David

david
  • 31
  • 1
1

I know it's an old topic but just in case someone would tumble upon it, I think my answer to the issue might be of help. I work with Geany, on a Raspberry Pi 2 and a 10' screen. I wanted a fast, simple IDE which would allow to view all the files in my project and open them as tabs, which would deal with syntax coloring, symbol analysis, autocompletion (which is only partial in Geany but still...), blocks wrapping and project runners. All those things are handled in a simple yet efficient way by geany. So it makes a quite nice substitute for my otherwise favourite python editor, Jetbrains Pycharm which is the best python IDE i've ever found... (And almost the only one besides Eclipse that handles autocompletion so thoroughly)

pouet
  • 11
  • 1
0

Or you could get NINJA-IDE. Well, its the only thing that runs on the Pi officially.

I see that the Raspberry Pi is somewhat limited and the preferred IDE is IDLE, which too is limited. I don't know why would someone like the Pi for hard-core coding. (Big thing, in Python 3 on the Pi isn't object-oriented. Has anyone this bug that child classes don't inherit functions from their parent class?) Well, I prefer shell coding and NINJA-IDE on the Pi.

retrixe
  • 101
  • 1