Loading..

Python Programming

  1. Introduction to Python
  • History and uses of Python (web, data, automation, AI)
  • Setting up Python and IDEs (VS Code, PyCharm)
  • Running Python scripts and using the interactive shell
  1. Python Basics
  • Variables and data types (numbers, strings, booleans)
  • Operators and expressions
  • Input/output and string formatting
  • Conditional statements (if, elif, else)
  • Loops (for, while, break, continue)
  1. Data Structures
  • Lists, tuples, dictionaries, and sets
  • Indexing, slicing, and comprehension techniques
  • Common methods and operations (append, sort, keys, values, etc.)
  • Nested data structures
  1. Functions & Modules
  • Defining and calling functions
  • Function arguments (positional, keyword, default, variable-length)
  • Return values and scope of variables
  • Lambda (anonymous) functions
  • Creating and importing modules
  • Standard library overview (os, sys, math, random, datetime)
  1. Object-Oriented Programming (OOP) in Python
  • Classes and objects
  • Constructors (__init__) and instance variables
  • Inheritance and polymorphism
  • Special methods (__str__, __repr__, __len__, etc.)
  • Encapsulation and abstraction
  1. Error Handling & File Handling
  • Exceptions (try, except, finally, raise)
  • Creating custom exceptions
  • Working with text and binary files (read, write, append)
  • JSON serialization and deserialization
  1. Advanced Python Concepts
  • Decorators and higher-order functions
  • Iterators and generators (yield)
  • Context managers (withstatement)
  • Regular expressions (remodule)
  • Virtual environments and dependency management (venv, pip)
  1. Working with Databases in Python
  • Connecting to SQLite
  • CRUD operations with SQLite in Python

Django Framework

  1. Introduction to Django
  • What is Django? Why Django vs Flask?
  • Installing Django and project setup
  • Project structure and key components (apps, models, views, templates)
  • Running the development server
  1. Django Models & Database Layer
  • Defining models in Django
  • Django ORM basics (querysets, filters)
  • Database migrations (makemigrations, migrate)
  • Relationships (One-to-One, One-to-Many, Many-to-Many)
  1. Django Views & Templates
  • Function-based views (FBVs)
  • Template language (Django templating syntax, tags, filters)
  • Passing data from views to templates
  • Using context and rendering HTML
  1. URL Routing & Static Files
  • URL dispatcher and path/converter syntax
  • Named URLs and reverse lookups
  • Serving static and media files during development
  • Template inheritance and reusable components (base templates, includes)
  1. Django Forms & User Input
  • Creating forms (Django Form class, ModelForms)
  • Working with GET and POST requests
  • Validation and error handling
  • CSRF protection and security features
  1. Authentication & Authorization
  • Django’s built-in authentication system
  • User registration and login/logout functionality
  • Password hashing and security
  • Permissions, groups, and role-based access control
  1. Django Advanced Features
  • Class-Based Views (CBVs)
  • Internationalization (i18n) and localization (l10n)
  1. Project
  • Building a complete Django web application (e.g., Blog, E-commerce, or Task Manager)
  • Implementing authentication, CRUD functionality, and forms
  • Connecting to an external API or adding REST endpoints with DRF
  • Deploying the fully functional project to a local server