Summary of what you are going to install:
Although you may use Windows or MAC OS as an operating system for your development computer, as a beginner it is recommended that you use a Linux-based distribution.
If you haven’t installed the OS read this article.
Here are the steps:
1) Update the repository (?)
sudo apt update
2) Install python (?)
In many linux distributions you may skip this step as python is already installed.
You can see which version you have installed with the following commands (it depends on the version, unfortunately):
$ python3 --version $ python --version $ python -V
Here is a sample code that installs python 3.6
sudo apt install python3.6
3) Set a root password that is easy to type and remember
Ok, some people may claim this is risky but remember that we are setting up a development computer for novices and for assisted coding. If you have important/sensitive data to the same computer (which you shouldn’t) you could skip this step.
Here is a sample code that will change the root password (you will be prompt for the new one).
sudo passwd root
You will be asked for your password. Type it two times.
5) Install your desired IDE
The recommended IDE for python is pycharm community edition.
6) Prepare your taskbar / desktop
Pin the following to your taskbar (or desktop):
- a web browser of your choice
- the IDE you have installed
- optionally a file manager
Unpin any items you don’t need. You will work more efficiently if you keep the desktop clean and tidy.
7) Prepare your workspace for the project (optional)
If you have a specific project or assignment you want to complete then:
- create a folder on your desktop
- copy to that folder the assignment PDF, any slides or additional resources you were given.
8) Install optional software
Once you have setup the IDE, you could install additional software: