Basic Python programming
Basic Python Syllabus – 30 Hours
Fees: 6500/-
Basic Python Syllabus – 30 Hours
Module 1: Introduction to Python & Setup (3 hrs)
- What is Python? Features & Use Cases
- Installing Python & IDE (VS Code / PyCharm)
- Writing your first Python program
- Python interactive mode vs script mode
- Input/output with input() and print()
- Comments and indentation
Module 2: Variables, Data Types, and Operators (3 hrs)
- Variables and data types (int, float, str, bool)
- Type conversion and type()
- Basic operators: arithmetic, comparison, logical, assignment
- String operations and formatting
- len(), indexing, slicing
Module 3: Control Flow – Conditions & Loops (3 hrs)
- if, elif, else conditions
- Logical operators and nested conditions
- for loop with range(), while loop
- break, continue, pass
- Looping through strings, lists
Module 4: Lists, Tuples and Sets (3 hrs)
- Creating, indexing, slicing lists
- List methods: append(), remove(), pop(), sort()
- Tuples: properties and usage
- Sets: uniqueness, operations (union, intersection)
Module 5: Dictionaries and Data Handling (3 hrs)
- Key-value pairs, adding and updating values
- Looping through dictionaries
- Dictionary methods: get(), items(), keys(), values()
- Use case: storing student records or inventory
Module 6: Functions & Modular Programming (3 hrs)
- Defining and calling functions
- Parameters, return values
- Default and keyword arguments
- Scope: local vs global
- Basic code reusability
Module 7: File Handling (3 hrs)
- Opening files with open()
- Reading and writing text files
- File modes: read, write, append
- Using with statement for file handling
- Simple CSV file read/write
Module 8: Exception Handling (3 hrs)
- Understanding errors vs exceptions
- Using try, except, else, finally
- Handling multiple exceptions
- Use cases: validating user input or file reading
Module 9: Basic Object-Oriented Programming (3 hrs)
- Classes and objects
- Constructor init()
- Methods and attributes
- self keyword
- Inheritance basics
Module 10: Mini Projects & Revision (3 hrs)
- Project Ideas (pick 1–2 based on student level):
- Simple calculator
- Student marksheet manager
- Quiz app
- To-do list CLI
- Revision of key concepts
- Q&A, doubt-solving
Learning Outcomes:
- Write basic Python programs independently
- Understand and use data types, functions, files, and OOP
- Build small-scale command-line applications