- What is Python? Its Use Cases (Web, Data, Automation)
- IDEs (Installing Python, VSCode / PyCharm)
- First Code in Python
Python is a high-level, object-oriented programming language known for its simplicity, readability, and versatility. It supports multiple programming styles, including:
- Object-Oriented Programming (OOP)
- Procedural Programming
- Functional Programming
- Web Development – using frameworks like Django, Flask
- Data Analysis & Visualization – using Pandas, NumPy, Matplotlib
- Machine Learning & AI – with TensorFlow, Scikit-learn, PyTorch
- App Development – building cross-platform apps with tools like Kivy
- Game Development – using Pygame
- Creative Coding / Digital Art – with Turtle, Processing.py
- Automation & Scripting – automating tasks, file operations, browser control
An object-oriented language is a programming language that uses the concept of objects to design and organize code.
Objects are instances of classes, which are blueprints that define the data (attributes) and behavior (methods) of those objects.
To write and run Python code, you'll need two things:
-
Python Interpreter
- Download from the official Python website
- Make sure to check "Add Python to PATH" during installation
-
An IDE or Code Editor
Both IDEs support features like syntax highlighting, linting, debugging, and more.
Here’s how to write and run your first Python program:
# This is your first Python program
print("Hello, World!")- Save the file as
hello.py - Open your terminal or command prompt
- Navigate to the folder where the file is saved
- Run the command:
python hello.pyYou should see the output:
Hello, World!