- Python 3 Core & Advanced with Django Content
Core Python Training
Introduction
- What Is Python?
- Why Python?
- Who uses Python?
- History of Python
- Features of Python
- Where python can be used?
- Installing python from the command line
- IDLE
- Running python scripts on Windows/Unix/Linux
Basic Python Syntax
- Basic Syntax
- Identifiers
- Rules to define identifiers
- Single line comments
- Multi line comments
- Reserved Keywords
- Naming Conventions
- Print(),Type() and Id() functions
- Input() and raw_input() functin
- Type Conversion functions
- Del keyword
Data Types
- What is Datatype?
- Built in Datatypes
- None Type
- Numeric Types
- Sequences
- Sets
- Mappings
- bool Datatype
Operators
- Arithmetic operators
- Assignment operators
- Unary minus operators
- Relational operators
- Logical operators
- Membership operators
- Identity operators
- Precedence of operators
String Handling
- What is string?
- Reading Data from Strings in Python
- String slicing
- String Concatenation
- String Formatting in Python
- Working with string functions
Flow Control Statements
- Conditional Statements
- Transfer Statements
- Iterative Statements
Conditional statements
- if statement (One-way decisions)
- .. else statement (Two-way decisions)
- if .. else .. if .. else statement (Multi-Way)
- Nested if else
- Single line if else statement
- Values as Conditions
- Using Logical Operators
Transfer Statements
- Break statements
- Continue statements
- Pass statements
Iterative Statements
- While loop
- . Else
- For loop
- Infinite loop
- Nested loops
- . Else
Collections
- Introduction to collections
- Lists
- Tuples
- Sets
- Dictionaries
- Collections indexing and slicing
- Working with methods of collections
- Iterating through collections
- Nested collections
- Getting Dictionary values
- Counting with dictionaries
- Differences between List, tuple and set
Working with Lists
- Declaration and accessing lists
- Data updation in lists
- Data deletion from lists
- Understanding basic list operations
- Python List built functions
- Alias and clone
- Sorting list elements
- Nested lists
- List Comprehensions
Working with Tuples
- Declaration and accessing Tuples
- Data Updation in “Tuples”
- Data Deletion from “Tuples”
- Understanding the Basic “Tuples” Operations
- Understanding Tuple “Indexing”, “Slicing” And “Matrixes”
- Python Tuple Built-in Functions
- Experiencing Tuple with Methods
Working with Dictionary
- Declaration and accessing of Dictionary
- How to access elements from Dictionary
- Built in functions on Dictionary
- How to add an element to dictionary
- How to delete an element from dictionary
- Assignments on Dictionary
Functions
- Defining function
- Calling function
- Function parameters
- Types of arguments
- Handling return values
- Scope of variable – Global, local
- Passing collections to a function
- Lambda functions/anonymous functions
- Filter and map() functions
Understand Functions arguments
- Positional arguments
- Keyword arguments
- Default arguments
- Variable-length arguments
Modules
- What is module?
- Types of modules
- The import statement
- . Import
- Reloading module
- Dir() function
- main() function
Packages
- Introduction to packages
- py file
- Defining packages
- Importing from packages
- Defining sub packages
- Importing from sub packages
Date, OS, Sub Process Modules
- Definitions of OS
- Date format conversions
- Usage of date, OS in real time
- Definition of date modules
- Definitions of Sub process modules
Advance Python Training
File Handling
- What is a file?
- Opening a file
- Reading data from a file
- Writing data to a file
- Closing a file
- Working with the methods of file objects
- Replacing the content of file
- Working with directories
- Working CSV files
- Assignments
Oops concepts
- Introduction to oops programming
- Features of OOPS
- Classes and Objects
- Encapsulation
- Abstraction
- Inheritance
- Polymorphism
Classes and Objects
- Creating a class
- Constructor
- Namespaces
- Types of Methods
- Passing Members of one Class to Another Class
- Inner classes
Inheritance and Polymorphism
- Constructors in inheritance
- The super() Method
- Types of inheritance
- Polymorphism
- Operator overloading
- Method overloading
- Method overriding
Abstract classes and Interfaces
- Abstract method and Abstract class
- Interfaces in python
- Abstract classes vs interfaces
- Assignments
Exception Handling
- Syntax errors
- Runtime errors
- What is exception?
- Need of exception Handling
- Predefined exceptions
- try, except and finally clauses
- Handling multiple exceptions
- Nested try, except and finally blocks
- Raise, assert statements
- Assignments
Regular Expressions
- Regular expressions syntax
- Understanding regular expressions
- Special characters
- Character classes
- Forming regular expressions
- Matching at beginning or end
- Match(), Search() and Sub() functions
- Splitting a string
- Replacing Text
- Flags
Database Connectivity
- Introduction to RDBMS
- Installation of oracle database access
- Creating oracle database instances
- Establishing connection with oracle
- Executing SQL queries
- Assignments
Python XML and JSON parsers
- How to parse XML
- How to create XML node
- How to Parse JSON
- Assignments
Data analytics
- Introduction to big data
- Pandas
- Numpy
- Matplotlib
Introduction to Python web framework
- Introduction to Django
- Advantages of Django
- Django Installation
- Components of Django
Django for Python Training
Django Web Framework
- What is a Framework?
- Introduction to Django
- Django – Design Philosophies
- History of Django
- Why django and Features
- Environment setup
- Web Server
MVC Pattern
- MVC Architecture vs MVT Architecture
- Django MVC – MVT Pattern
Getting Started with Django
- Creating the first Project
- Integrating the Project to IDE
- The Project Structure
- Running the server
- Solving the issues and Migrations
- Database Setup
- Setting Up Your Project
Create an Application
- What Django Follows
- Structure of django framework
- Model Layer
- What are models?
- Model fields
- Querysets
Front End tools
- Using HTML in Django
- Using CSS in Django
Django – Admin Interface
- Using the admin interface
- Customizing the admin interface
Views Layer
- Simple View
- Basic view (displaying hello world)
- Functional views, class based views
Django – URL Mapping
- Organizing Your URLs
- Role of urls in djnago
- Working urls
- Forms
- Sending Parameters to Views
- Templates layer
- The Render Function
Django Template Language (DTL)
- If/else
- For
- Comments
- Filters
- Using templates to display data in the site
Django – Models
- Creating a Model
- Manipulating Data (CRUD)
- Linking Models
Django – Sending E-mails
- Sending a Simple E-mail
- Sending Multiple Mails with send_mass_mail
- Sending HTML E-mail
- Sending HTML E-mail with Attachments
Django – Forms creation
- Forms basics
- Creating contact US form
- Form field examples