Raspberry Pi update Python Guide
Keeping your Python up to date on a Raspberry Pi is very simple. You only need to follow these easy step to update Python and your Raspberry Pi.
In this article you are about to learn on how to update pyton on a Raspberry Pi. In a few simple steps you can update your Raspberry Pi and Python with easy to follow bash codes.
If you want to upgrade to a newer version of Python I urge you to follow my one line to rule them all Python installation scripts. Yes, It's also to upgrade to newer versions!
What is a Raspberry Pi
The raspberry pi is a very small and cheap computer that can be used as an Operating System and for many other things.
Depending on the configuration, it can be used as a desktop or laptop machine, or as one of several types of server.
Raspberry Pi's are most notably useful for their ability to interface with the physical world through sensors and motors; they make excellent control boards for robots or other electronics projects.
And it works great with Python!
What is Python?
Python is a high-level, general-purpose programming language. Python was created by Guido Van Rossum and named after the British comedy group Monty Python.
Python is a popular programming language because it has the great advantage of being both easy to learn and highly readable. This makes it a great choice for someone who wants to learn programming as well as those who want to do more complex tasks.
What makes Python such an attractive programming language? It is an easy to read and write code which means that it reduces the time spent on debugging. It also helps that Python has fewer syntactical rules than other languages which make it easier for programmers to work together on large projects without getting their code mixed up.
Update Python on a Raspberry Pi
You can update your Raspberry Pi and Python in 3 easy steps!
Step 1: open a terminal to your Raspberry Pi and do:
sudo apt-get update
Step 2: when finised, in your terminal do:
sudo apt-get upgrade
Step 3: Do not forget to donate :-)
Wait wait wait!!!
Normally with these statements it would upgrade Python on you Raspberry Pi. Most Linux versions however install a rather old version of Python and do not update anything!
Sooooo..... if you followed my two statements in your terminal, your Raspberry Pi is nicely updated but Python is not!
The way to update (or Upgrade) Python to a higher level you need to use my Python installation script and with one line of code you will be able to do this!