Starting My Python Journey — By Raees Yaqoob Qazi (DevOps Engineer)

 Today, I’m starting my Python learning journey.

 Before we begin, please make sure you have VS Code and Python installed on your machine.
 Both installations are very simple — just download the .exe files, run them, and keep clicking Next. Within a minute, everything will be ready to use.

Why is Python Important? Why Should We Learn It?

The answer is very simple:

  • Python is easy to read and easy to write.
     Its syntax is clean and beginner-friendly.
  • Python has a huge community.
     You will always find support, tutorials, and ready-made solutions online.
  • Python has powerful libraries for almost every domain.

For example:

  • For DevOps & AWS automation → boto3
  • For SQL databases → pymysql
  • For MongoDB → pymongo

This is why Python is one of the most in-demand programming languages in the world.

After learning Python, it becomes easier to find jobs, work on DevOps tasks, or even earn from freelance platforms.




Understanding Hardware and Operating Systems

Let’s make it simple:

  • Hardware is just a physical box (computer/laptop/server).
     Alone, it cannot do anything.

To use hardware resources, we must install an Operating System (OS) on it.

Common OS options are:

1. Windows

  • Owned by Microsoft
  • Updates are released anytime
  • Very user-friendly

2. macOS

  • Owned by Apple
  • Based on UNIX
  • Known for stability and performance

3. Linux

  • Open-source (we can contribute to its development)
  • Stable and widely used in servers and DevOps
  • Has fixed update cycles
  • April → version ends with .04
  • October → version ends with .10

Example:

  • Ubuntu 20.04 → April release
  • Ubuntu 20.10 → October release

How Do We Give Instructions to an Operating System?

When we write something like:

print("Hi")

We are using a high-level language (Python).
 To understand this code, Python uses:

Interpreter

  • Converts code line by line into machine language.

Compiler

  • Converts the full program at once into machine language.
  • Example: When we build a Django project, the compiler processes the entire codebase.

This is how our simple instructions are translated so the operating system can execute them.

Final Words

I hope you found my blog helpful and easy to understand.
 If you liked it, please share it with others so they can also start learning Python.

🌐 Online References


Comments

Popular posts from this blog

📘 Understanding Prometheus in a Simple Way-Part 3 (For DevOps Beginners)

Grafana Setup & Dashboard Creation (Part-5)— Explained by Raees Yaqoob Qazi

My First Python Program: A Simple Calculator