Python

Course Overview

Gain an understanding of object-oriented programming with Python and internalize its core features and functions. Learn to program in python and handle files, directories, exceptions and modules. Practice hands-on exercises on our cloud labs as you learn with our industry expert. Master the best practices, libraries and techniques of Python programming.

Be industry ready to develop robust Python applications for your organization.

At the end of the training, participants will be able to:

  • Think intuitively in Python
  • Gain in-depth understanding of Python’s architecture, memory models, object-oriented features, input and output details: stdio and file io
  • Use interesting and extra-useful control of flow statement
  • Master Python’s simple and robust error handling methods
  • Implement flexible function protocols
  • Leverage built-in data types: Using them and inheriting from them in classes you design
  • Deploy Python’s list comprehensions, decorators, iterators, generators, context managers
  • Master scheme for creating and using libraries and packages for many developer / administrative tasks: shutil, tempfile, subprocess, glob, profile, shelve, os, sys, optparse, unit test
  • Be industry ready to rapidly develop and deploy enterprise-grade Python applications using off-the-shelf libraries for all general purpose usage

Pre-requisite

Suggested: Foundational knowledge of OOP concepts / language

Duration

3 days

Course Outline

Python – The Universal Language

  • Installing Python
  • Python – *Hello World*
  • Using the Interpreter
  • iPython – a better Python interpreter
  • Types – Dynamic v/s Static Typing – tStrong v/s Weak Typing
  • Numbers
  • Strings
  • Unicode
  • Complex types
  • Operators – Operator Overloading
  • Variables
  • Scoping and Expressions
  • Use of tabs and whitespaces as indent
  • Conditionals – for…else
  • The general syntax
  • Default values for arguments
  • Returning and receiving multiple values
  • Variable number of arguments – args, kwargs
  • Scope revisited
  • Primitive v/s Composite Types
  • Lists
  • Tuples
  • Maps (or Dictionaries)
  • Sets
  • Enums
  • Looping Techniques
  • Global and Local namespace
  • Introduction to modules
  • Using modules
  • Creating your own modules
  • Working with a third-party library
  • Matching v/s Searching
  • Regular Expression Objects
  • Match Objects
  • Examples
  • Reading Files
  • Writing Files
  • Handling I/O Errors
  • Higher level file operations
  • File and Directory comparisons
  • Exception handling basics
  • try…except
  • Examples
  • Introduction to OOP
  • Classes and Objects
  • Instance methods and data
  • Initialization of objects
  • Inheritance
  • Multiple and Multilevel Inheritance
  • Method overriding
  • Classes and Types

Reviews