Basic Python Programming
Basic Python Programming Syllabus
Module 1: Introduction to Python
- What is Python?
- Installing Python & IDEs (IDLE, PyCharm)
- Writing and running Python programs
- Understanding the Python interpreter
- Comments and basic syntax
Module 2: Python Basics
- Variables & Data Types
- Input and output (input (), print ())
- Type conversion
- Basic operators
Module 3: Control Flow
- Conditional statements (if, elif, else)
- Looping (for loop, while loop)
- break, continue, and pass
Module 4: Data Structures
- Strings (Slicing, methods)
- Lists (Indexing, methods, list comprehension)
- Tuples (Immutable sequences)
- Dictionaries (Key–value pairs)
- Sets (Unique elements, operations)
Module 5: Functions
- Defining functions (def)
- Parameters & return values
- Default & keyword arguments
- Variable scope
- Lambda functions
Module 6: Modules and Packages
- Importing modules
- Creating your own module
- Standard libraries (math, random, date time, os)
Module 7: File Handling
- Reading files
- Writing files
- Working with text files
- Exception handling basics
Module 8: Object-Oriented Programming (Basic)
- Classes and objects
- Attributes and methods
- Constructors (__init__)
- Inheritance (intro level)
Module 9: Error & Exception Handling
- Types of errors
- try, except, finally
- Raising exception
Module 10: Mini Projects
- Calculator
- To-do list app
- Simple quiz game
- File-based contact book