Saitech Course on Python

Corporate training undertaken on weekends by experts at companies and colleges. For further details contact email: support@saitechinfo.com   or whatsapp / telegram / mobile  9790412107 / 99522 71274 / 9444929163 .

Click here for the photo gallery of Python Workshop held at BSA University

COURSE DURATION

 Day-1

  1. Course Introduction
  2. Numbers, Operators, and Comments
  3. Variables and Data Types
  4. Boolean and Conditional Logic
  5. Rock, Paper, Scissors
  6. Looping in Python

Day-2

  1. Lists
  2. Lists Comprehensions
  3. Dictionaries
  4. Tuples and Sets
  5. Functions Part I
  6. Functions Part II

Day-3

  1. Lambdas and Built-In Functions
  2. Debugging and Error Handling
  3. Modules
  4. Object Oriented Programming
  5. OOP Part 2
  6. Iterators & Generators
  7. Decorators

Day-4

  1. File IO
  2. Testing With Python
  3. Making HTTP Requests with Python
  4. Working with CSV
  5. Web Scraping
  6. Web Scraping Project
  7. Regular Expressions

COURSE CONTENT

Course Introduction

  • Python3 vs. Python2
  • How The Exercises Work
  • Where Should You Start?
  • How The Course is structured?

Numbers, Operators, and Comments

  • Numbers: Ints and Floats
  • Numbers: Basic Math
  • Basic Math Refresher
  • Numbers: Weirder Operators
  • Introduction to the Python Documentation

Variables and Data Types

  • Introduction to Variables
  • Bank Robbery Money
  • Variable Naming Restrictions and Conventions
  • Data Types Overview
  • What The Heck is Dynamic Typing
  • The Special Value NONE
  • Double Vs. Single Quotes
  • Make Some Variables!
  • String Escape Sequences
  • Escape Sequence Practice
  • String Concatenation
  • String Concatenation Exercise
  • String Formatting
  • Formatting Strings
  • Strings and Indexes (Indicies?)
  • Converting Data Types
  • Building a Mileage Convertor With User Input
  • Variables and Data Types

Boolean and Conditional Logic

  • Getting User Input
  • Intro to Conditionals
  • Multiple Elifs
  • A Word on Truthiness + A Quick Example
  • The Joy of Comparison Operators
  • Logical AND & OR
  • LOGICAL NOT
  • Boolean Logic Principles
  • A Note on Is Vs. ==
  • Bouncer Code-Along and Nested Conditionals
  • Boolean & Conditional Logic in Python
  • Positive or Negative Checking

Rock, Paper, Scissors

  • Rock, Paper, Scissor Mini Project: BASIC Version
  • RPS Mini Project: Refactoring Time
  • RPS Mini Project: Playing Against The Computer
  • RPS Mini Project: Computer AI Solution

Looping in Python

  • The Basics of For Loops
  • Exploring Ranges In Depth
  • Introducing While Loops
  • The Break Keyword
  • Stuck in a Loop

Lists

  • Creating Lists
  • Accessing Data in Lists
  • Iterating Over Lists
  • List Methods: Append, Insert, and Extend
  • List Methods: Clear, Pop, and Remove,
  • List Methods: Index, Count, Sort, Reverse, and Join
  • Slices
  • Swapping Values in Lists

Lists Comprehensions

  • List Comprehension
  • List Comprehension With Conditional Logic
  • Nested Lists

Dictionaries

  • Intro To Dictionaries: Creating Dictionaries
  • Accessing Data in Dictionaries
  • Iterating Dictionaries
  • Using In With Dictionaries
  • Dictionary Methods: Clear, Copy, Fromkeys, and Get
  • Dictionary Access
  • Dictionary Methods: Pop, Popitems, and Update
  • Dictionary Comprehension

 

Tuples and Sets

  • Tuple Looping and Methods
  • Introduction to Sets
  • Set Methods and Set Math
  • Set Comprehension and Recaps

Functions Part I

  • Defining Functions
  • The Magical Return Keyword
  • Writing a coin_flip Function Using Random
  • Parameters
  • Common Mistakes When Returning
  • Default parameters
  • Keyword Arguments
  • Scope
  • Docstrings and Functions Recap

Functions Part II

  • Introduction and *args
  • **kwargs
  • Ordering Parameters
  • Tuple unpacking
  • Dictionary unpacking

Lambdas and Built-In Functions

  • Lambdas
  • Map
  • Filter
  • Any and All
  • Generator Expressions and Using sys.getsizeof
  • Sorted
  • Min and Max
  • Reversed
  • Len() and a Special Sneak Peak of OOP!
  • Abs(), Sum(), and Round()
  • Zip Basics
  • More Complex Zip Examples

Debugging and Error Handling

  • Common Types of Errors in Python
  • Raising Our Own Errors
  • Try and Except Blocks
  • Try, Except, Else, and Finally!
  • Debugging With PDB

Modules

  • Working With Built-In Modules
  • Custom modules
  • Installing External Modules And TermColor
  • ASCCI Art Exercise
  • Using The autopep8 Package to Clean Up Code
  • The Mysterious __name__ variable

Making HTTP Requests with Python

  • HTTP: START HERE
  • HTTP Introduction and Crash Course
  • HTTP Verbs and APIs
  • Writing Your First Python Request
  • Requesting JSON with Python
  • Sending Requests with Params
  • API Project

Object Oriented Programming

  • Defining Classes and Objects
  • Abstraction and Encapsulation
  • Creating Classes and Instances
  • The __init__ method
  • Underscores: Dunder Methods, Name Mangling, and More!
  • Adding Instance Methods
  • Introducing Class Attributes
  • Class Attributes Continued
  • Class Methods
  • A More Advanced Class Method Example
  • The __repr__ method

OOP Part 2

  • Inheritance and Objectives
  • All About Properties
  • Introduction to Super()
  • Inheritance Example: User and Moderator
  • The Crazy World of Multiple Inheritance
  • Method Resolution Order(MRO)
  • Polymorphism Introduction
  • Special __magic__ methods
  • Making a Grumpy Dictionary – Overriding Dict

Iterators & Generators

  • Iterators vs. Iterables?!?!?
  • Writing Our Own Version of for loops
  • Writing a Custom Iterator
  • Making our Deck class Iterable
  • Introduction to Generators
  • Writing a Beat Making Generator
  • Testing Memory Usage With Generators
  • Generator Expressions AND Speed Testing!

Decorators

  • Higher Order Functions
  • Introduction to Decorators
  • Decorators With Different Signatures
  • Using Wraps To Preserve Metadata
  • Building A Speed-Test Decorator
  • Another Example: Ensuring Args With A Decorator
  • Writing an ensure_first_arg_is Decorator
  • Enforcing Argument Types With A Decorator

Testing With Python

  • Why Test?
  • Assertions
  • Doctests
  • Introduction to Unittest
  • Other Types of Assertions
  • Before and after hooks

File IO

  • Reading Text Files: Open and Read
  • Reading Files: Seek and Cursors
  • The With Statement
  • Writing to Text Files
  • File Modes

Working with CSV

  • Reading CSV Files
  • Writing to CSV Files: Writer
  • Writing to CSV Files: DictWriter
  • Pickling Time!
  • Extra Fancy JSON Picklings

 

Web Scraping

  • Introduction to Web Scraping
  • Is Scraping…OK?
  • Optional HTML/CSS Crash Course
  • Selecting with BeautifulSoup: find()
  • Selecting With BeautifulSoup: CSS Style Selectors
  • Accessing Data with Beautiful Soup
  • Navigating With BeautifulSoup
  • Our First Scraping Program

 

 

Web Scraping Project

  • Quote Scraping Project: Intro
  • Scraping Project
  • Quote Scraping Project: Part 1
  • Quote Scraping Project: The Game Logic
  • Quote Scraping Project: Refactoring
  • Quote Scraping Project: Adding CSV
  • Creating A Web Crawler with Scrapy

Regular Expressions

  • Intro To Regular Expressions
  • Writing Basic Regex
  • Regex Basics: Quantifiers
  • Regex Basics: Character Classes and Sets
  • Regex Basics: Anchors and Boundaries
  • Regex Basics: Logical Or and Capture Groups
  • Introduction to the RE Module
  • Validating Phone Numbers With Python
  • Parsing URLs with Python
  • Symbolic Group Names
  • Regex Compilation Flags
  • Regex Substitution Basics
  • Swapping File Names