Complete Python Beginner → Advanced Guide
(Offline Study)
This PDF is a beginner■friendly roadmap to learn Python programming step by step. If you practice
regularly and build projects, you can become very good at programming. Study 30–90 minutes daily
and practice the examples.
1. Introduction to Python
1 Python is a popular programming language used for websites, automation, artificial intelligence
and data science.
2 It is known for simple and readable code which makes it great for beginners.
2. Installing Python
1 Download Python from [Link]
2 Install a code editor such as Visual Studio Code
3 Run your first program using the Python interpreter
3. Your First Python Program
1 Example: print("Hello World")
2 This command prints text to the screen.
3 Try changing the message and run the program again.
4. Variables
1 Variables store data values.
2 Example: name = 'Kethan'
3 Example: age = 14
4 Example: height = 5.8
5. Data Types
1 Integer (whole numbers)
2 Float (decimal numbers)
3 String (text)
4 Boolean (True or False)
6. Operators
1 Arithmetic operators: + - * /
2 Comparison operators: == != > <
3 Logical operators: and, or, not
7. Input and Output
1 Programs can take input from users.
2 Example:
3 name = input('Enter your name: ')
4 print('Hello', name)
8. Conditional Statements
1 Used for decision making.
2 Example:
3 age = 18
4 if age >= 18:
5 print('You can vote')
6 else:
7 print('You are too young')
9. Loops
1 Loops repeat actions automatically.
2 For loop example:
3 for i in range(5):
4 print(i)
5 While loop example:
6 count = 0
7 while count < 5:
8 print(count)
10. Lists
1 Lists store multiple values.
2 Example: numbers = [1,2,3,4,5]
3 You can add, remove, and access items.
11. Dictionaries
1 Store data in key■value pairs.
2 Example:
3 student = {'name':'Kethan', 'age':14}
12. Functions
1 Functions allow reusable code.
2 Example:
3 def greet():
4 print('Hello!')
5 greet()
13. File Handling
1 Python programs can read and write files.
2 Example: open('[Link]','r')
3 Useful for saving program data.
14. Error Handling
1 Programs may have errors. Python can handle them using try/except.
2 Example:
3 try:
4 x = 10/0
5 except:
6 print('Error occurred')
15. Object Oriented Programming
1 Classes and objects organize large programs.
2 Example concept:
3 class Person:
4 name = ''
16. Libraries
1 Python has powerful libraries created by developers.
2 Examples include:
3 NumPy for mathematics
4 Pandas for data analysis
5 Matplotlib for charts
17. Web Development
1 You can build websites using frameworks like Django or Flask.
18. Automation
1 Python can automate boring tasks such as file sorting or sending emails.
19. Artificial Intelligence
1 Python is widely used for machine learning and AI using libraries like TensorFlow.
20. Beginner Projects
1 Calculator program
2 Number guessing game
3 Simple to■do list
4 Password generator
5 Contact list manager
21. Intermediate Projects
1 Weather app using API
2 Simple website
3 File organizer automation tool
22. Advanced Projects
1 AI chatbot
2 Data analysis dashboard
3 Automation scripts for businesses
23. Study Plan
1 Practice coding daily
2 Build one small project each week
3 Read documentation and experiment
24. Path to Earning Money
1 Freelance coding projects
2 Building websites for businesses
3 Automation tools for companies
4 Developing apps and software