Beginner Fundamentals

Introduction

Python is a general-purpose programming language created by Guido van Rossum and released in 1991. It’s known for clean, readable syntax, which makes it a great first language.

What it’s used for

  • Web — back-end with Django, Flask, FastAPI.
  • Data and AI — pandas, NumPy, PyTorch, scikit-learn.
  • Automation and scripts — repetitive tasks, scraping, integrations.
  • DevOps — infrastructure and automation tooling.

Why Python

  • Readable code, close to English.
  • Dynamic typing: you don’t declare variable types.
  • Interpreted: runs directly, no manual compile step.
  • Cross-platform: Linux, macOS, Windows.
  • Huge library ecosystem.

Example

print("Hello, world!")

That’s a complete Python program. One line, runs, and prints the text.