Python Full Course for Beginners
1. Introduction to Python
- What is Python? Why use it?
- Installing Python
- Setting up a Code Editor
- Running Your First Python Program: print("Hello, World!")
2. Python Basics
- Variables & Data Types (int, float, str, bool)
- Comments
- Input/Output (input(), print())
- Type Conversion (int(), float(), str())
3. Operators
- Arithmetic Operators: +, -, *, /, //, %, **
- Comparison Operators: ==, !=, >, <, >=, <=
- Logical Operators: and, or, not
- Assignment Operators: =, +=, -=, etc.
4. Control Statements
- if, elif, else
- Nested Conditions
- pass statement
5. Loops
- for loops
- while loops
- Loop break and continue
- range() function
- Looping through strings, lists
6. Data Structures
- Strings: slicing, methods (upper(), find(), etc.)
- Lists: indexing, methods, nested lists
- Tuples: immutable lists
- Sets: unique elements
- Dictionaries: key-value pairs
7. Functions
- Defining and Calling Functions
- Parameters and Return Values
- *args and **kwargs
- Recursion (Basic)
8. Object-Oriented Programming (OOP)
- Classes and Objects
- __init__ method
- Instance vs Class Variables
- Inheritance
- Method Overriding
- Encapsulation & Abstraction (Basic)
9. Exception Handling
- try, except
- else, finally
- Custom Exceptions
10. File Handling
- Reading from files
- Writing to files
- Working with .txt, .csv files
11. Modules & Packages
- Importing modules
- math, random, datetime modules
- Creating your own module
- Using pip to install external packages
12. Advanced Concepts (Optional)
- List Comprehensions
- Lambda Functions
- map(), filter(), reduce()
- Decorators
- Generators
- Working with JSON
- Regular Expressions (re module)
13. Practice Projects
- Calculator
- Quiz App
- Number Guessing Game
- To-Do List (using files)
- Rock, Paper, Scissors
- Simple Contact Book
14. Resources
- [Link]/python/
- [Link]
- [Link]/3/
- YouTube: CodeWithHarry, freeCodeCamp
- Book: "Automate the Boring Stuff with Python"