Programming in Python -  Intermediate and Advanced Techniques



Programming in Python –  Intermediate and Advanced Techniques – 3 Days
Onsite, Custom, Lowest Cost

Course Description – Programming in Python

This Programming in Python training course presents both the programming interface and the techniques that can be used to write procedures in Python on Windows / Linux systems.


It is helpful if the participants have had some experience with the Python language (basic constructs, data types, functions).   No experience with the Linux system is required.


Each participant will be able to use Python techniques and commands to write scripts to perform various user and administrative tasks.


Writing Python Scripts (Review)

history, versions, ports

layout of a Python procedure



module importation

column format

documentation (docstrings)

pydoc – generating man or html pages

syntax checking via pylint

Execution Methods



command line interaction

interactive / debugging mode (pdb)

Advanced Data Structures Definition and Access                 

generator functions

arrays that contain arrays

arrays that contain dictionaries

special properties of dictionaries

dictionaries that contain arrays

dictionaries that contain dictionaries

regular expressions (usage)

list comprehensions

regular expressions

functions : decorators, closures, inner

Python Interaction with the Operating System : part 1

the os Module

environment variables

launching external programs

paths, directories and filenames

dates and times

the Time module

handling (system) signals

Python Interaction with the Operating System : part 2

file handling functions (os and os.path)

using ARGV value(s)

process and thread creation

converting to daemon level execution

Processing XML Data in Python

XML data layout

reading / parsing XML data in Python

via regular expressions

via the DOM library

via SAX parsing

via ElementTree

writing XML data in Python

An Introduction to Python Classes

OO programming

defining classes

initializers, constructors, and destructors

instance methods




Serialization (pickle)


multi-processing (advantages / disadvantages)

daemon transition (native)

POSIX threads

the Python thread manager

threading module

threads synchronization (techniques)

Network Programming


socket options

client concepts

server concepts

multi-tasking network server

multi-threading network server              

Unit testing

unittest Python module

writing test cases

defining assertions


edge cases

Distributing Modules and Packages

installing packages

ways to distribute code

overview of distutils

preparing for distribution

creating a source distribution

creating built distributions options commands

Database Interaction

Python cx_Oracle (database interface)

connection object

cursor object

embedding SQL statements

fetching objects

Graphical User Interface (GUI)

Python Tkinter (interface to Tcl/Tk)

widget access

main window


main event loop

Other courses to explore:

Programming in Python –  Essential Features and Techniques

Programming in the C Language: Onsite, Custom, Lowest Price

Programming in Perl – Basic / Intermediate: Onsite, Custom


From Wikipedia – Python is an interpreted high-level programming language for general-purpose programming. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, and a syntax that allows programmers to express concepts in fewer lines of code,[25][26] notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales.[27]

Python features a dynamic type system and automatic memory management. It supports multiple programming paradigms, including object-oriented, imperative, functional and procedural, and has a large and comprehensive standard library.[28]

Python interpreters are available for many operating systems. CPython, the reference implementation of Python, is open source software[29] and has a community-based development model, as do nearly all of its variant implementations. CPython is managed by the non-profit Python Software Foundation.

Python training MindIQ
Python training

Print Friendly, PDF & Email