Which language on the Raspberry Pi?

What language should you use on the Raspberry Pi? There is quite a choice, including Python, Scratch, Java, C, Julia, and that's not counting the web stuff like Javascript, Html and Php.
There is no definitive answer - it depends on what you want to do. If you are teaching a child the basics of programming then Scratch might be a good choice. If you are an older learner then you might go for Python or Java with Greenfoot.
If you are interested in programming the Raspberry Pi hardware then there are libraries for pretty much any language that will let you do that. 
If you want a graphical user interface then you may want to give C a miss. But not necessarily because you can tack on a GUI in almost any language these days.
So where does that leave us?
Here is a list of some of the programming languages available for the Raspberry Pi with my brief personal notes and an example program for each one (except Scratch).

Scratch This is a graphical language designed to teach kids about p…

Just Enough Python 0 - Getting set up

If you are using a Raspberry Pi to follow this tutorial and you have the latest version of Raspbian, then you already have everything you need.


However, if you are are on some other Linux then you may need to install some stuff. Basically, all you need is is Python3, pip3 and Geany. To install these on a Debian/Ubuntu set up you just need to open a terminal window and install whatever packages you need, e.g.

sudo apt-get install python3

sudo apt-get install python3-pip

sudo apt-get install geany


If you are using Windows you can find the installation instructions for Python and Geany here


and here


When installing Python in Windows, you should tick the box that says "Add Python 3.x to PATH".


Popular posts from this blog

Just Enough Python

Learn to code with C

Introduction to Python by Andrew Ng