2

What visual programming language IDEs are available for programming Python on the Raspberry Pi? Especially for newbie.

  • I'm not a user of that kind of thing, but my gut tells me they are going to be resource intensive and hence not well suited to a modest, >= 1 GB RAM device. I could be wrong though. – goldilocks Dec 22 '16 at 13:57
  • TBH, you can obviously write something close to a grammatically correct sentence (which is more than a lot of people online...) -- I think you should just find a decent editor or lightweight IDE (this is actually a blurry distinction, if we consider autocompletion and syntax checking more critical than being able to compose/compile/run within one application, the latter I think being mostly pointless with python) and jump in. – goldilocks Dec 22 '16 at 13:57
  • 3
    Looking around Geany is probably a decent choice. You don't have to download it from there if you are using Raspbian sudo apt install geany. – goldilocks Dec 22 '16 at 14:04
  • This page may give you some other alternatives and things to try, but I would agree with @goldilocks they will likely offer a far from optimal user experience and that Geany may be the best compromise between features and usability. – Steve Robillard Dec 22 '16 at 14:10
  • Thanks. Since i'm total newbie, more important is easy programming than anything else. @goldilocks do you mean that this IDE is run in Raspberry with 1 GB RAM? I meant that IDE runs in Desktop computer. – newbieeu Dec 22 '16 at 14:50
3

Thonny and Eric are two decent Python IDEs that are small and lightweight.

3

A popular IDE is Geany which is fairly small and lightweight. Its supports Python as well as C, Java, PHP and HTML. It only requires the GTK2 runtime libraries to be installed.

You can install it from the terminal by running:

sudo apt-get install geany

Syntax highlighting, code folding, symbol name auto-completion, completion and snippets, call tips, code navigation, simple project management are all supported. I think you would be hard pressed to find a better alternative that is easier to install and works across as many different OS's and programming languages.

The official page can be found here.

3

Obviously the standard Python IDE comes with Raspbain by default which is decent especially for a newbie.

Otherwise, you could try Ninja IDE. Install it by opening a terminal window and running the following commands:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install ninja-ide 
1

For the sake of a complete set of answers...

You can use Visual Studio on a PC to write Python programs for a Raspberry Pi running Windows 10 IoT.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.