Day |
Topic |
Description |
Practice Exercise |
1 |
Introduction to Python |
Variables, Data Types, Input/Output |
Write a program that takes user input and prints it back. |
2 |
Control Structures |
Conditionals (if, elif, else), Loops (for, while) |
Write a program that prints numbers 1-100, with "Fizz"
for multiples of 3, "Buzz" for 5, "FizzBuzz" for both. |
3 |
Functions |
Defining and calling functions, Parameters, Return values |
Write a function that takes a list of numbers and returns the
sum. |
4 |
Data Structures |
Lists, Tuples, Dictionaries, Sets |
Create a dictionary to store student names and grades. Write
functions to add, remove, and update grades. |
5 |
File I/O |
Reading from and writing to files |
Write a program that reads a text file and prints its content,
then writes user input to a file. |
6 |
Error Handling |
Try, Except, Finally blocks |
Write a program that divides two numbers from user input,
handling any potential errors. |
7 |
Review and Project |
Review Week 1 topics |
Create a simple text-based calculator. |
8 |
OOP: Classes and Objects |
Understanding and defining classes, creating objects |
Define a Student class with attributes for name and
grade, and methods to display and update the grade. |
9 |
OOP: Concepts |
Inheritance, Encapsulation, Polymorphism |
Extend the Student
class to include a GraduateStudent class with additional attributes. |
10 |
Regular Expressions |
Basics of pattern matching |
Write a program to validate email addresses using regular
expressions. |
11 |
Modules and Packages |
Importing and using modules |
Use the math and random
modules to perform various calculations. |
12 |
Introduction to Tkinter |
Creating a simple window, adding widgets (labels, buttons, entry
fields) |
Create a window with a label and a button that changes the
label's text when clicked. |
13 |
Tkinter Event Handling |
Handling button clicks and other events |
Create a form with entry fields for name and age, and a button
to display the entered data. |
14 |
Review and Project |
Review Week 2 topics |
Create a simple GUI calculator using Tkinter. |
15 |
Introduction to Flask |
Setting up a Flask project, creating routes, handling requests |
Create a simple Flask application that displays "Hello,
World!" |
16 |
Flask Templates |
Using Jinja2 for templating |
Create a Flask application with a template to display a list of
items. |
17 |
Flask Forms |
Creating and handling forms in Flask |
Create a form in Flask to collect user input and display the
submitted data. |
18 |
Introduction to Django |
Setting up a Django project, understanding MVC architecture |
Create a simple Django project and run the development server. |
19 |
Django Models and Admin Interface |
Creating models, using the admin interface |
Create a model for a blog post and add some entries using the
admin interface. |
20 |
Django Forms |
Creating and handling forms in Django |
Create a Django form for submitting blog posts and display the
submitted posts. |
21 |
Review and Project |
Review Week 3 topics |
Create a Flask or Django application with a form to collect and
display user data. |
22 |
Introduction to Databases |
SQLite basics, CRUD operations |
Create a SQLite database and perform CRUD operations using sqlite3. |
23 |
Using SQLAlchemy with Flask |
Setting up SQLAlchemy, performing database operations |
Integrate SQLAlchemy with a Flask application to store form
submissions. |
24 |
Django ORM |
Using the Django ORM for database operations |
Modify the Django project to use the ORM for CRUD operations on
a model. |
25 |
APIs and HTTP Requests |
Understanding HTTP methods, using the requests library |
Write a Python script to fetch data from a public API and
display it. |
26 |
Deploying Flask/Django Applications |
Basics of deploying web applications |
Deploy a simple Flask or Django application to a free hosting
service like Heroku. |
27 |
Review and Project Planning |
Review advanced topics, plan a final project |
Plan a final project that incorporates forms and database
interaction. |
28-30 |
Final Project |
Comprehensive project work |
Create a project (e.g., task manager application, simple blog
platform) involving forms and database interaction. |