Sei sulla pagina 1di 11

Advanced Python Training Course

About Course
This course guides you on the path to become a developer on Python with the knowledge of writing codes
in the Procedural as well as the Object Oriented (OOP) approach.

Target Audience
The Advanced Python Training Course has been designed for people both with and without any prior
knowledge of programming. This course benefits both freshers/students and experienced personnel willing
to achieve careers as a Python Programmer, Software Developer, Application Developer in Python, Python
Backend Developer, Full Stack Developer, Python Web Developer. This course also acts as the first step
towards the Data Science and Machine Learning courses.

Pre-Requisite
There is no prerequisite for this course. However, any prior experience in programming shall be counted
beneficial.

Good-to-have Skills
Hands-on experience on any programming language
Idea on Object Oriented Programming concept (OOPs)
Course Curriculum

1. Introduction to Python
Why choose Python 3
Some tips for beginners
Installing Python 3
Executing Your First Program
Python’s View

Hands On:
Downloading Python 3
Installation of Python 3
Creating environment Variable
How Interpreter execute programs
Creating a hello world script to check interpretation

2. Variables in Python
Identifiers and Keywords
Values and Their Types
Variables

Hands On:
Differentiating between a keyword and Identifier
Differentiating between a valid and Invalid Identifiers
Name some types of Values, what function to check the type of a variable
Assigning a value to a variable
3. Python Operators and Expressions
Operator Precedence
Expressions
Statements, line Continuation, Comments, Indentations
Input and Output Statements
Type Casting

Hands On:
Comparing output of '/' and '//'
Predict output of '/' in python v2.x
Demonstrating Manual approach of bitwise operation
Expressions vs Statements
Converting int to str and vice-versa

4. Conditional Statements
if Statements
else and elif Clauses
One line if Statements
Python's ternary Operator
Switch Statements in Python
pass Statements

Hands On:
Building a basic calculator application
Demonstrating one line if by writing a program for greatest of 3 numbers
Re-write program for calculator application applying switch case functionality in Python.
5. Loops
while Loops
else Clause
Nested while Loops
Infinite while Loops
for Loops
Collections/ Iterator based loop
Iteraion, iterable, iterator, iter()
range()
Iterating through dict, tuples, strings, lists, sets
Break and continue Statements
else Clause

Hands On:
Calculation and printing Fibonacci Series till nth term
Checking if a given number is an Armstrong number
Identifying Armstrong numbers within a given range
Other numeric series and related programs
Building a dictionary dynamically

6. Basic Python Data Structures


List and Tuples
● Lists: Ordered & Arbitrary
● Indexing and Slicing
● Operators and BuiltIn Function
Defining tuples
● tuples assignment
● packing and unpacking
● Built-In functions, slicing
String Operations
● Operators and Builtin Methods
● Indexing and Slicing
● Modifying Strings
Dictionaries
● What is Dictionary
● Incrementally Building a Dictionary
● Restrictions On Key and Values
● Operators and Builtin Methods
● Immutable Dictionary
Sets
● Defining Sets
● Operators and Methods
● Modifying Sets
● FrozenSets

Hands On:
Slice a List and convert it to a set
Name 5 built-in function on list and tuples both.
Store 3 tuples in another tuple and print it in reverse
Demonstrate unpacking of a tuple
Demonstrate slicing of tuple
Demonstrate d[1]='w', demonstrate built-in fun on Strings
Demonstrate get(), items() , values() and keys().
Convert Immutable dict to a dict
Can a set can hold duplicate Values? Demonstrate
What are some properties of Frozen sets? Demonstrate.

7. Functions
Syntax
Functions Parameters
● Return Values
● Namespaces
● Local and Global Variables in Python
● Arbitrary number of parameters and Keyword Parameters
● Recursion and Recursive Functions
Decorators
● Filter, Reduce, Map
● Lambda - features, syntax, options, compared to functions
● Iterators and Generators
● Modular Programming
Modules in Python
● Standard Libraries
● Import Statements
● Import Statements
● Module search path
● reload() in 2.x and 3.x
● Renaming namespaces

Hands On:
Rewriting Calculator program using method based approach
Rewriting Fibonacci Series using method based approach
Writing a boolean method and executing in loop to identify Armstrong numbers in an array
Changing default search path for modules

8. Object Oriented Programming (OOP)


General Introduction
OOP in Python
Introduction to Classes
Attributes
Methods (Static, class and instance)
Constructor Method
Data Abstraction, Encapsulation and Information Hiding
__str__ and __repr__ Methods
Destructor
Getters and setters
Inheritance (multiple inheritance, diamond problem, super and MRO)
Overriding, overloading and overwriting
Polymorphism
Hands On:
Writing a Laptop class
Writing a Student class
Adding Laptop Reference in Student class and setting up interclass communication

9. Built-in Packages
Package Installation and (Operations)
requests
datetime
Threads
Unittest

Hands On:
Demonstrating API calls through request modules
Writing unit tests for Python Programs
Demonstrating date time manipulation using datetime
Writing a multi-threaded countdown timer program

10. External Packages


Introduction to Pypi
Numpy
Shallow and Deep Copy
Pandas

Hands On:
Writing program to demonstrate deep and shallow copy
Replace items that satisfy a condition with another value in numpy array
How to combine many series to form a dataframe?
11. Working with Files
Opening and Closing Files
Reading and Writing in the Files
Appending in the files
File Locations and Paths
Examining File contents

Hands On:

Write a program to count the number of times a character appears in the File.
Write a program to copy from one file to another.

12. Errors and Exception Handling


Exception handling in Python
try and except block
Multiple except Clauses
Custom-made Exceptions
finally Clause
else Clause

Hands On:
Rewrite program for factorial of a number with exception handling
Opening a file in read mode which doesn’t exist.

13. Database Programming with Python


SQLite Database
MySQL Database
SQLAlchemy
BLOB

Hands On:
Store user inputs in databases
Load data from databases
14. Flask
Installation
Basic Application Structure
Templating
Web Forms
Authentication
Sending Emails
Databases
APIs
Testing

Hands On:
Templating using bootstrap
Demonstrating data handling in flask
Building UI for sending emails

15. Django from Scratch

Introduction to Django

● Why Django
● Features of Django

Django Command Line, Installation And Configuration

● Installing Django
● Virtual Environments
● Install Git

Getting Started with Django

● About the 3 Core Files: models.py, urls.py, views.py


● Setting up database connections
● Managing Users & the Django admin tool

Django URL Patterns and Views

● Designing URL scheme


● Generic views
WireFrames

● Elements of wireframes
● Wireframe tools

Protecting Views

Class based Views

Django Forms

● Form classes
● Validation
● Authentication
● Advanced Forms processing techniques

Models, Databases, Migrations and the Django Admin

● Create and activating a database model


● Django admin
● Adding migrations to apps

Database Migrations

● Data Migrations

Template System

● Django Template Language


● How Django finds template
● Template Inheritance

Static File SetUp (js and css)

● Configuring static files


● Serving uploaded files

Django - Errors and Exception Handling

● Django core exceptions

● try and except


Page Redirection

● redirect() function
● Temporary vs. Permanent redirect

Sending Emails

● send_mail() Function
● EmailMessage class

File Uploading

● Basic file uploads


● Handling uploaded files with a model

Sessions, caching and Comments

● Enabling sessions
● Using cached sessions

Cookie Handling

● Cookie-based Sessions

RSS, AJAX

● Creating RSS feeds


● Handling AJAX requests in Django

API

● Django REST framework


● Serialisation

Hands On:
Building a book store website with Django with all different roles of users and their individual
authorized activities including all the fundamentals of CRUD covered
Building a RESTful API service to enable and execute CRUD operations

FINAL PROJECT
1. Online Fashion Store Administration Web Application
2. Online Book Store Ecommerce Web Application

Potrebbero piacerti anche