Learn Python In 80 Days!
From Zero to hero!
Python is a versatile programming language that is easy to learn and widely used in various fields. This guide will take you through the basics of Python, starting from the very first day and continuing for 80 days, helping you become proficient in Python programming.For more stuff, see d-utility.
Install Python
Before we start, make sure you have Python installed on your computer. The steps below will guide you through the process
- Open your web browser and go to www.python.org
.
- Click "Download the latest version for windows"
- In the "Downloads" sidebar, wait for the .exe file to load, And click "Run Executable".
- A process that takes a while will start. Make sure you check "Add python to PATH".
- A terminal window (this one is called a
shell) will open. If unfamiliar, see the image to the right: - Bonus: If you want to try writing a program from Day 1, go to File > New File (Ctrl+N)
A window called "untitled" will appear. Write the code, Save As (Ctrl+Shift+S), and click Run > Run Module (F5)
Now the pythonshellwill open. You'll see the output! Great Job! You wrote your first python program.
- Open your web browser and go to www.python.org
.
- Click "Download the latest version for MacOS"
- Click your version of MacOS, and follow Python's individual instructions.
- Click the
.dmgfile and then the.mpkgfile. A process that takes a while will start. - A terminal window (this one is called a
shell) will open. If unfamiliar, see the following - Bonus: If you want to try writing a program from Day 1, go to File > New File (Ctrl+N)
A window called "untitled" will appear. Write the code, Save As (Ctrl+Shift+S), and click Run > Run Module (F5)
Now the pythonshellwill open. You'll see the output! Great Job! You wrote your first python program.
Python 3.13.1 (v3.13.1:0671451, Dec 3 2024, 19:06:28)
--snip--
Most Linux distributions come with Python pre-installed. To install or upgrade, use your package manager, e.g. sudo apt install python3.13 for Ubuntu/Debian, sudo dnf install python3.13 for Fedora, and any other commands will be known to you if you have a different Linux distribution.
Run IDLE
If you want to try writing a program from Day 1, go to File > New File (Ctrl+N)
A window called "untitled" will appear. Write the code, Save As (Ctrl+Shift+S), and click Run > Run Module (F5)
Now the python shell will open. You'll see the output! Great Job! You wrote your first python program.
More...
1010101010111101010010010101 MORE COMING SOON1010101010111101010010010101