Python II: Applied Python Training

Python refresher

  • Data types
  • Sequences
  • Mapping types
  • Program structure
  • Files and console I/O
  • Conditionals
  • Loops
  • Builtins

OS Services

  • The os module
  • Environment variables
  • Launching external commands
  • Walking directory trees
  • Paths, directories, and filenames
  • Working with file systems
  • Dates and times

Pythonic Programming

  • The Zen of Python
  • Common idioms
  • Lambda functions
  • List comprehensions
  • Generator expressions
  • String formatting

Program development

  • Analyzing programs
  • Using pylint
  • Testing code
  • Using unittest
  • Debugging

Creating modules

  • Initialization code
  • Namespaces
  • Executing modules as scripts
  • Documentation
  • Packages and name resolution
  • Naming conventions
  • Using import

Classes

  • Defining classes
  • Instance methods and data
  • Initializers
  • Class methods
  • Static methods
  • Inheritance
  • Multiple inheritance
  • Pseudo-private variables

GUI programming

  • Graphical programming overview
  • About Tk
  • The TkInter module
  • Creating widgets
  • Packing widgets
  • Fonts, colors, and other widget attributes
  • Starting the application
  • Bindings and events

Database access

  • The DB API
  • Available Interfaces
  • Connecting to a server
  • Creating and executing a cursor
  • Fetching data
  • Parameterized statements
  • Metadata
  • Transaction control

Threads

  • Why use threads?
  • Threads are different
  • Variables are shared
  • Python threads modules
  • The threading module
  • The queue module
  • The python thread manager
  • Debugging threaded programs

CGI

  • The cgi module
  • URL encoding
  • Calling CGI scripts
  • CGI Environment variables
  • The FieldStorage object
  • Sending the HTTP header
  • Outputting HTML
  • HTML from templates

Network Programming

  • Sockets
  • Clients
  • Servers
  • Application protocols
  • Forking servers
  • Threaded servers
  • Binary data
  • The struct module

XML

  • Working with XML
  • DOM: The Document Object Model
  • Getting a DOM tree
  • Document nodes
  • Walking the tree
  • SAX: The simple API for XML
  • Creating a SAX reader

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment