Python - Basics Training Syllabus

Curriculum Designed by Experts

Introduction to Python & Python Fundamentals

  • Python Interpreter and its Environment

Data Types and their related functions

  • Numbers
  • Strings
  • Unicode Strings

Python variables and basic data structures

  • Declaration of variables
  • Arrays, Lists and Tuples
  • Dictionary and Sets
  • List and array slicing

Operators

  • Arithmetic Operators
  • Assignment Operators
  • Comparison Operators
  • Logical (or Relational) Operators
  • Conditional (or ternary) Operators

Conditional statements/Control Structures

  • If Statements
  • While construct
  • For Statements
  • Looping Techniques over arrays, dictionary, etc. (ref: module3, day1)
  • The range() Function
  • Break and continue Statements, and else clauses on Loops
  • Pass Statements
  • Error Handling

Functions

  • Local variables
  • Default Argument Values
  • Returning Values
  • Keyword & Positional Arguments
  • Arbitrary Argument Lists
  • Unpacking Argument Lists
  • Lambda Expressions
  • Documentation Strings

Modules

  • Executing modules as scripts
  • The Module Search Path
  • Building modules
  • Running a module from the command line
  • "Compiled" Python files
  • Standard Modules
  • The dir() Function
  • Packages
  • Importing * From a Package
  • Intra-package References
  • Packages in Multiple Directories

File handling and other OS interactions

  • Opening a File   
  • Reading from a file, writing to a file
  • Closing a File
  • Reading directories & other basic directory operations (getcwd, mkdir, chdir etc.)
  • Renaming & deleting files

Exceptions

  • Handling Exceptions
  • Raising Exceptions
  • User-defined Exceptions
  • Defining Clean-up Actions
  • Predefined Clean-up Actions
  • try-finally clause

Regular expressions   

  • What is regular expression?
  • Matching characters
  • Compiling regular expressions
  • Strings and Slices
  • Modifying Strings
  • Use of triple quotes

Introduction to OOP

  • Class Definition Syntax
  • Class Objects, Instance Objects, Method Objects; Instantiation
  • Inheritance
  • Data Member - Class variable/Instance Variable
  • Function overloading
  • Operator overloading

List Comprehensions

  • Basic List Comprehensions

Lambda Forms

  • Introduction to Lambda Forms

Pickle Module

  • The Pickle Module

File Wildcards

  • File lists from directory wildcard searches (glob module)

Command Line Arguments

  • How to process command line arguments (sys module)

Error Output Redirection and Program Termination

  • sys.stdin, sys.stdout and sys.stderr attributes
  • sys.exit() - program termination

Various standard libraries, as time permits

  • shutil (for daily file and directory management tasks)
  • math (underlying C library functions for floating point math)
  • random (tools for making random selections)
  • datetime (access and manipulate dates and times)
  • timeit (to time operations)
  • urllib2 (internet access)
  • smtplib (mail access)

Talk to our Advisor.

+91