Skip to content

Introduction to Python

What is programming language ?

  • Language: a Language is a medium that we express ourself or communication with other

  • Programing language: is a language to communicate with computer, as computer dont understand the human language, it only knows binary which is (1, 0)

So, Python compiler will compile the python code that we have written to binary.

TIP

Just like ourself, if we dont understand a languages, we will using Translator to translate the language we don't understand to the language we know.

So compiler here act as a Translator between human and computer.

Installation and setup environment

Official site: Python Official Site

  • After installed python on computer, run this command to validate if python has successfully installed
cmd
python --version

if python has successfully installed, you get results (Python x.xx.x):

cmd
Python 3.14.2