Curriculum
Python was created by Guido van Rossum in the late 1980s and released to the public in 1991. He was working at the Centrum Wiskunde & Informatica (CWI) in the Netherlands, and wanted to build a language that emphasised code readability and also allowed developers to express concepts in fewer lines of code.
The name
Pythondoes not refer the snake, but rather to the British comedy group Monty Python. Guido picked the name while developing the language at the time, wanting something short, unique, and a bit playful. The underlying goal was to make coding fun, flexible, and clean.
Nonetheless, since its early days, Python has gone through multiple versions. These are discussed briefly below:
Python’s philosophy is summed up in The Zen of Python. You can read it by typing the following (You will have the opportunity to test this when we install the IDE):
import this
Some of the mentioned principles include:
Today, Python is one of the top 3 programming languages worldwide. It can be used in of the following areas:
Python code can be written using any text editor (e.g. Notepad, Notepad++). However, when the complex development requires a good Integrated Development Environment (IDE). An IDE is simply a software application that combines together all the necessary tools for writing a program in a specific language, compiling the code, and deploying the code to a specific environment. With Python, the PyCharm IDE enables us to perform these tasks.
Below are common options for Python IDEs.
| Tool | Type | Pros | Cons |
|---|---|---|---|
| IDLE | Built-in | Lightweight, simple | Limited features |
| VS Code | Editor + Extensions | Highly customizable, fast | Requires setup for Python plugins |
| Jupyter Notebook | Notebook-style | Great for data science | Poor for app development |
| PyCharm | Full IDE | Excellent Python support, autocompletion, debugger, GUI designer | Heavier than others, but worth it |
For this course, we are not just writing scripts – we will develop a desktop application with its own user interface. We will achieve the following tasks:
PyCharm makes this easy by providing the following features:
We will use the PyCharm Community Edition, which is a free software and is sufficient for all the course tasks.
Thus, in order to write Python code, you will need to perform these two tasks: (i) install the Python interpreter, and (ii) install a Python IDE. We shall perform these tasks in this section.
To obtain a copy of the Python interpreter, you can download it from the official site at the following URL:
https://www.python.org/downloads/
Follow these steps:
After the installation is complete, you can test that it succeeded:
python --version
If you see something like Python 3.12.x, then installation was successful.
If you do not see anything like above, please let the tutor know so that you can receive some assistance. You can also share the issue in the course forum.
To install the PyCharm IDE, you can download it from this URL.
https://www.jetbrains.com/pycharm/download/
Follow these steps:
Source Code for the Course
You can access the source code for the entire course on this GitHub link
GitHub Link to Course Source Code
Now that you have installed both the Python interpreter and IDE you are ready to try your hands on some Python code. If you have not achieved the installation up to this stage, please inform the tutor by sending an email to tutor@culerlearn.com,or sending a message on the course forum.
If you have been able to complete the installation of the both the interpreter and the IDE, then you can follow the steps below to write your first Python program.
PythonForApps)Next, create a new Python file:
main.pyprint("Hello, Python World!")
Click the green ▶ Run button.
Terrific!!! You have been able to write and run your first Python program.
This is tremendous achievement.
If you were not able to achieve this, don’t worry. You will get enough support to sort this out.
The following provides some extra exercises to practise on.
It is essential to practise writing more code to build the skill of writing Python programs.
first_script.py.name = "Your Name"
course = "Python for Real Applications"
print(f"Hi {name}, welcome to {course}!")
Run the file. Confirm that your name and course appear in the terminal.
For this, you do not need to write anything down although it is recommended. It would not be submitted however.
In your own words:
In the next lesson, we shall discuss Syntax, Variables and Data Types in Python
Not a member yet? Register now
Are you a member? Login now