Course Outline


Duration

2 days

Lab Setup

Make sure you have Python 3 installed. All content is covered with Python 3

Course Outline for Basic Python Training

Why Python
  • The Universal Language
Getting Started
  • Installing Python
  • Python - "Hello World"
  • Using the Interpreter
  • iPython - a better Python interpreter
Language Basics
  • Types
  • Dynamic v/s Static Typing
  • Strong 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
Functions
  • The general syntax
  • Default values for arguments
  • Returning and receiving multiple values
  • Variable number of arguments - args, kwargs
  • Scope revisited
Collection
  • Primitive v/s Composite Types
  • Lists
  • Tuples
  • Maps (or Dictionaries)
  • Sets
  • Enums
  • Looping Techniques
Modularisation of code
  • Global and Local namespace
  • Introduction to modules
  • Using modules
  • Creating your own modules
  • Working with a third-party library
Regular Expressions
  • Matching v/s Searching
  • Regular Expression Objects
  • Match Objects
  • Examples
Files and Directories
  • Reading Files
  • Writing Files
  • Handling I/O Errors
  • Higher level file operations
  • File and Directory comparisons
Exception Handling
  • Exception handling basics
  • try...except
  • Examples

The classroom training will be provided in Bangalore (Bengaluru), Chennai, Hyderabad or Mumbai and will be conducted in the client's premises. All the necessary hardware/software infrastructure must be provided by the client.