Python Training
📘 Part 1: Python Fundamentals (2–3 weeks)
- Introduction to Python
- Installation & setup
- Python syntax, keywords, and data types
- Variables and operators
- Input/Output
- Control Flow
- if, else, elif
- Loops (for, while)
- Loop control (break, continue, pass)
- Data Structures
- Lists, Tuples, Sets, Dictionaries
- Comprehensions
- Functions and Modules
- Defining functions
- Arguments, *args, **kwargs
- Lambda functions
- Importing & creating modules
- Object-Oriented Programming
- Classes and objects
- Inheritance, Encapsulation, Polymorphism
- __init__ and magic methods
- File Handling & Error Handling
- Reading/writing files
- Exception handling (try, except, finally)
- Virtual Environments & Pip
- venv or virtualenv
- Installing packages with pip
🌐 Part 2: Web Development Basics (1 week)
- HTTP & Web Overview
- What is HTTP?
- Client vs Server
- Status codes
- RESTful APIs
- HTML/CSS/JS Basics (Optional but useful)
- Basic HTML tags
- CSS classes & styling
- JavaScript for interactivity
🚀 Part 3: Flask or Django (Choose one or learn both)
Elective 1: Flask (2–3 weeks)
- Introduction to Flask
- Installing Flask
- Hello World App
- Routing and Views
- Templates and Jinja2
- HTML templating
- Template inheritance
- Passing data to templates
- Forms and User Input
- WTForms or raw HTML forms
- Handling POST/GET requests
- Databases with Flask
- SQLite integration
- SQLAlchemy ORM
- CRUD operations
- Blueprints & Application Structure
- Modularizing a Flask app
- Static files (CSS, JS, images)
- Authentication
- Login/Registration system
- Flask-Login
- REST APIs with Flask
- Creating RESTful endpoints
- JSON response
- Postman testing
- Deployment
- Gunicorn
- Hosting on Heroku / Render
Elective 2: Django (3–4 weeks)
- Introduction to Django
- Installing Django
- Creating a project/app
- File structure overview
- URL Routing & Views
- URL dispatcher
- Function-based and class-based views
- Templates
- Django template engine
- Template inheritance
- Context data
- Models & ORM
- Creating models
- Migrations (makemigrations, migrate)
- QuerySet API
- Forms and User Input
- Built-in forms
- Model forms
- Validation
- Admin Panel
- Registering models
- Customizing admin interface
- Authentication
- Built-in auth system
- User registration/login/logout
- Permissions & groups
- REST APIs with Django REST Framework
- Serializers
- ViewSets
- Routers and URLs
- Deployment
- Debug vs production settings
- Deploying on Render/Heroku/Vercel