Advanced Python Programming
Advanced Python Programming
Duration: 3 days
Hands-On Format: This hands-on class is approximately 40/60 lab to lecture ratio, combining engaging
lecture, demos, group activities and discussions with comprehensive machine-based practical
programming labs and project work.
Module 2 -- OS Services
The OS module
Environment variables
Launching external commands
Walking directory trees
Paths, directories, and filenames
Working with file systems
Dates and times
Module 6 -- Metaprogramming
Implicit properties
globals() and locals()
Working with attributes
The inspect module
Decorators
Monkey patching
Module 10 -- Multiprogramming
When to use threads?
The Global Interpreter Lock
The threading module
Simple threading
Sharing variables
The queue module
Debugging threaded programs
Multiprocessing
Other alternatives
Module 11 – XML and JSON
Working with XML
DOM and Sax
Introducing ElementTree and xml
Parsing XML
Navigating the document
Creating a new XML document
JSON
Parsing JSON into Python
Converting Python into JSON