



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




1.1 What is Python?
Python is a high-level, interpreted, and general-purpose programming language created by
Guido van Rossum in 1991.
It is easy to learn because of its simple and readable syntax.
Python is widely used in:
Web development Data science Artificial Intelligence (AI) Automation Software development
Python has simple syntax similar to English language.
Example:
print("Hello World")
Python code is executed line by line, making debugging easier.
Python programs can run on different operating systems like:
Windows Linux macOS
without changing the code.
Python is free to download and use.
Official Website: Python Official Website
Python supports Object Oriented Programming (OOP) concepts like:
Class Object Inheritance Polymorphism
Python provides many built-in libraries such as:
math random datetime
No need to declare variable type.
Example:
x = 10 name = "Ram"
Used to create websites and web applications.
Frameworks:
Python is used for:
Ethical hacking Security testing Network scripting
Step 1:
Open the official website:
Download Python
Step 2:
Download the latest version of Python.
Step 3:
Run the installer.
✔ Tick the option:
Add Python to PATH
Step 4:
Click on “Install Now”.
Step 5:
After installation, open Command Prompt and type:
python --version
If Python version appears, installation is successful.
IDE stands for Integrated Development Environment. It helps programmers write and run code easily.
Features:
Comes with Python installation Simple and beginner-friendly Lightweight
Best for:
Beginners Basic programs
VS Code Official Website
Features:
Fast and lightweight Supports extensions Good for web and Python development
Best for:
Students Developers
PyCharm Official Website
Ans: Guido van Rossum.
Ans: Interpreted.
Ans: IDLE and PyCharm.
Ans: .py
Ans: Easy to learn.