
Advanced Python Programming
Course Duration
4 Days
Audience
Employees of federal, state and local governments; and businesses working with the government.
Prerequisites
Students should have a working knowledge of Python fundamentals including data types, functions, and basic OO concepts. Completion of Essential Python or equivalent experience is required.
Course Description
This class explores advanced Python topics and skills with a focus on enterprise development. You’ll learn how to leverage OS services, code graphical application interfaces, create modules and run unit tests, define classes, interact with network series, query databases, and processes XML data. This comprehensive course provides an in-depth exploration of working with the programming language for enterprise development. At the conclusion, you will be able to use Python to complete advanced tasks in the real world.
Course Outline
- Built-in data types
- Lists and tuples
- Dictionaries and sets
- Program structure
- Files and console I/O
- If statement
- for and while loops
- The os and os.path modules
- Environment variables
- Launching external commands with subprocess
- Walking directory trees
- Paths, directories, and filenames
- Working with file systems
- Basic date and time classes
- Different time formats
- Converting between formats
- Formatting dates and times
- Parsing date/time information
- Binary data
- What is Binary Data?
- Binary vs text
- Using the Struct module
- The Zen of Python
- Tuples
- Advanced unpacking
- Sorting
- Lambda functions
- List comprehensions
- Generator expressions
- String formatting