Course objectives
After completing this course, students will be able to:
- Understand Python's syntax and semantics
- Write clear and concise Python code
- Utilize fundamental data structures (lists, tuples, dictionaries)
- Employ control flow statements (if-else, loops)
- Define and use functions
- Handle errors and exceptions
- Work with files and input/output operations
- Create modular and reusable code
- Apply object-oriented programming principles
- Build simple applications and scripts
Course outlines
- Module 1: Introduction to Python
- Installation and setup
- Basic syntax and data types
- Variables and operators
- Input and output operations
- Module 2: Control Flow
- Conditional statements (if, elif, else)
- Loops (for, while)
- Iterating over sequences
- Module 3: Functions
- Defining and calling functions
- Parameters and arguments
- Return values
- Scope and namespaces
- Module 4: Data Structures
- Lists
- Tuples
- Dictionaries
- Sets
- String manipulation
- Module 5: Modules and Packages
- Importing modules
- Creating your own modules
- Using standard library modules
- Installing external packages
- Module 6: File Handling
- Reading and writing files
- Text files
- Binary files
- Exception handling
- Module 7: Object-Oriented Programming
- Classes and objects
- Inheritance
- Polymorphism
- Encapsulation
- Module 8: Advanced Topics
- Regular expressions
- Functional programming
- Decorators and generators
- Working with databases (optional)
- Web scraping (optional)
- Practical Projects:
- Building a simple calculator
- Creating a text-based adventure game
- Developing a data analysis application
- Automating tasks with Python scripts