Instructor-Led Automation Training

Introduction to Python

3 days

This hands-on course will cover Python Execution Environment, operating system architecture, structure of a process, process information, Python procedure execution, using the Python REPL interpreter, Python virtual environments (venv), Python features, documentation (doctype), pydoc - generating man or html pages and syntax checking via pylint.

Course Outline

Writing Python Scripts

  • Python procedure layout
  • Python (interpreter) syntax checking
  • Python procedure execution

scalar variables

  • operations on scalar variables
  • tuple and list array variables
  • functions to manipulate list arrays
  • dictionaries (associative arrays)

while statement
if statement

  • if-else statement
  • if-elif statement
  • Python regular expressions

file I/O in Python

  • direct file I/O in Python
  • option processing
  • file information in Python
  • special I/O in Python

 operating system operations from Python

  • directory and file functions
  • user-defined named and lambda functions
  • passing arguments to functions
  • returning values from functions
  • passing lists and dictionaries to functions

Object Oriented Python Essentials

  • object oriented Python concepts
  • classes in Python
  • constructors and destructors
  • class files

Multiprocessing

  • multi-tasking programming concepts
  • process control and synchronization
  • thread programming concepts
  • thread control
  • thread module

Extending Python with Modules and Packages

  • Python modules
  • class modules
  • building and using packages
  • creating and accessing spreadsheets in pandas

Back to top