Python Training Outline (2006)

Outline of a python training I did in 2006

Created: by Pradeep Gowda Updated: Oct 03, 2023 Tagged: python · training

Note: This page is here for historical curiosity. This is the outline of a Python training I did in 2006. If you are looking for someone to train your team in Python, get in touch with me: pradeep AT btbytes dot com


Python Training

In this training spread over two days, the trainer will provide an intensive, hands-on introduction to the Python language and also introduce the audience to   tools and techniques used for Python application development. Through lectures, practical examples and on-hands programming the  students learn the basics of Python programming, and become proficient enough to apply the language for day to day tasks.  

Through out the course emphasis will be given to solve “real-life” problems.

Day 1

General Python Introduction 

  • What is Python
  • Python best use cases
  • The features list
  • Python in the “Real World”
  • Summary: Why Python?

Using the Interpreter

  • How to run Python programs
  • Configuration details
  • Module files: a first look
  • The IDLE interface
  • Other Python IDEs
  • Time to start coding

Types and operators

  • Numbers,Strings,Lists
  • Dictionaries,Tuples
  • Files

Statements

  • Assignment, Expressions
  • Print, If selections
  • Python syntax rules
  • Truth tests
  • While loops
  • Break, continue, pass, and the loop else
  • For loops
  • Range and counter loops
  • Basic coding gotchas

Functions

  • Function basics
  • Scope rules in functions
  • More on “global”
  • More on “return”
  • More on argument passing
  • Special argument matching modes
  • Odds and ends
  • Functions are objects: indirect calls
  • Function gotchas

Modules

  • Module basics
  • Module files are a namespace
  • Reloading modules
  • Module design concepts

Classes

  • Class Basics
  • Using the class statement
  • Using class methods
  • Customization via inheritance
  • Specializing inherited methods
  • Operator overloading in classes
  • OOP: inheritance and composition

Day 2

Exceptions

  • Exception basics
  • First examples
  • Exception idioms
  • Exception catching modes
  • Matching variations
  • Exception gotchas
  • On-hands session

Built-in Tools Overview

  • The debugger and profiler
  • Timing Python programs
  • Packaging programs for delivery

System Interfaces

  • System modules overview
  • Arguments, streams, shell variables
  • File tools
  • Directory tools

Text Processing

  • String objects: review
  • Splitting and joining strings

Internet Scripting

  • Using sockets in Python
  • The URLlib module
  • Introduction to Jython

Practical problem solving session