0% found this document useful (0 votes)
34 views

Python Course Content

The document outlines the course content for a Python and Django web framework course. It covers topics like Python basics, data structures, OOP concepts, Django fundamentals including the MVT architecture, models, views, templates, forms, authentication, and sample projects. The course is divided into 3 weeks, with the first week focusing on Python basics, the second on intermediate concepts like sets and dictionaries, and the third on Django models, forms, and authentication.

Uploaded by

Anu bhav
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Python Course Content

The document outlines the course content for a Python and Django web framework course. It covers topics like Python basics, data structures, OOP concepts, Django fundamentals including the MVT architecture, models, views, templates, forms, authentication, and sample projects. The course is divided into 3 weeks, with the first week focusing on Python basics, the second on intermediate concepts like sets and dictionaries, and the third on Django models, forms, and authentication.

Uploaded by

Anu bhav
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Course Content

Core Python (Week 1)


 What is Python?
 Python Versions
 Features of Python
 How to Install Python
 Install Python with Diff IDEs
 Creating Your First Python Program
 Printing to the Screen
 Reading Keyboard Input
 Using Command Prompt and GUI or IDE
Different Modes in Python
 Execute the Script
 Interactive Mode
 Script Mode
 Python Comments
 Working with Python in Unix/Linux/Windows
 Python New IDEs
 PyCharm IDE
 How to work on PyCharm
 PyCharm Components
 Debugging process in PyCharm
 SublimeText IDE
 What is PIP?
Variables in Python
 What is Variable?
 Variables in Python
 Constants in Python
 Standard Data Types
 Operators and Operands
 Swap variables
 Type Conversion
 String Handling
Python Conditional Statements
 How to use “if condition” in conditional structures
 if statement (One-Way Decisions)
 if .. else statement (Two-way Decisions)
 How to use “else condition”
 if ..elif .. else statement (Multi-way)
 When “else condition” does not work
 How to use “elif” condition
 How to execute conditional statement with minimal code
 Nested IF Statement
Python LOOPS
 How to use “While Loop”
 How to use “For Loop”
 How to use For Loop for set of other things besides numbers
 Break statements in For Loop
 Continue statement in For Loop
 Enumerate function for For Loop
Python Lists
 Lists are mutable
 Getting to Lists
 List indices
 Traversing a list
 List operations
 List slices
 List methods
Python TUPLE
 Packing and Unpacking
 Comparing tuples
 Creating nested tuple
 Using tuples as keys in dictionaries
 Deleting Tuples
 Slicing of Tuple
 Tuple Membership Test
Python Sets (Week 2)
 How to create a set?
 Iteration Over Sets
 Python Set Methods
 Python Set Operations
 Union of sets
 Built-in Functions with Set
 Python Frozenset
Python Dictionary
 How to create a dictionary?
 Python Dictionary Methods
 Copying dictionary
 Updating Dictionary
 Delete Keys from the dictionary
 Dictionary key(), values(), items() Method
 Sorting the Dictionary
 Python Dictionary in-built Functions
Python Functions
 What is a Function?
 How to define and call a function in Python
 Types of Functions
 Significance of Indentation (Space) in Python
 How Function Return Value?
 Types of Arguments in Functions
 Default Arguments
 Non-Default Arguments
 Keyword Arguments
 Non-keyword Arguments
 Arbitrary Arguments
 Scope and Lifetime of variables
 Anonymous Functions/Lambda functions
 map(), filter(), reduce() functions
 What is a Docstring?
Advanced Python
 Python Exception Handling
 Python Errors
 Common Runtime Errors in PYTHON
 Abnormal termination
 Chain of importance Of Exception
 Exception Handling
 Try … Except
 Try ..Except .. else
 Try … finally
Python Class and Objects
 Introduction to OOPs Programming
 Object Oriented Programming System
 OOPS Principles
 Basic concept of Object and Classes
 Access Modifiers
 How to define Python classes
 Self-variable in python
 What is Inheritance? Types of Inheritance?
 How Inheritance works?
Django Web Framework
 What is a Framework
 Introduction to Django
 Why django and Features
 Environment setup
 Web Server
MVT Pattern
 Django MVT – MVT Pattern
Getting Started with Django
 Creating the first Project
 Running the server
 Solving the issues and Migrations
 Database Setup
 Setting Up Your Project
Create an Application
 Structure of django framework
 What are models
 Model fields
 Querysets
Django – Admin Interface
 Starting the Admin Interface
 Migrations
Views Layer
 Simple View
 Functional views, class based views
 Sending Parameters to Views
 The Render Function
Django – URL Mapping
 Organizing Your URLs
 Working urls
Django Template Language (DTL)
 Role of template layer in django
 Filters,Tags, Tag if, Tag for, Block and Extend Tags
 Extending base template
Django – Models (Week 3)
 Creating a Model
 Manipulating Data (CRUD)
 Django – Page Redirection
Django – Form Processing
 Using Form in a View
 Usage of forms
 Crud operations using forms
Django – File Uploading
 Uploading an Image
Django – Cookies Handling
 Django – Sessions
Django Admin
 Creating Super User
 Using admin in Django
 Adding models to admin
 Adding model objects using admin
 Displaying in cmd using querysets
Static files
 Loading css files into templates
 Loading js files into templates
 Uploading image using models
 User authentication

Sample Programs/Projects for Exercise:


 Python Program to remove duplicate element from list.
 Python Program to Count the Number of Occurrence of a Character in
String.
 Django Project: Create Blog Project
 Django Project: Create Library Management System

You might also like