Instructor-led training
Python II: Advanced Python 3 Training in Brighton, Colorado
This two day course covers a handful of various Python advanced topics including high level data structures, network programming, writing GUI's in Python, and CGI programming.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Brighton, Colorado or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
1. What you should already know about Python
Introduction
Language Evolution
Python Reserved Words and Other Rules
Documentation
The string Class
Variables
DataTypes
Boolean and Numeric Types
Strings
Lists
Sets
Sequences
Looping Through Sequences
Dictionaries
Bit Manipulation
Functions
Modules
Standard Input and Output
File Input and Output
Some File Tests
2. Data Structures
range
List Comprehensions
Nested List Comprehensions
Dictionary Comprehensions
Dictionaries with Compound Values
Processing Lists in Parallel
Specialized Sorts
Time Functionality
Generators
3. Writing GUIs in Python
Introduction
Components and Events
The tk Widget
Button Widgets
Entry Widgets
Text Widgets
Checkbutton Widgets
Radiobutton Widgets
Listbox Widgets
Frame Widgets
Menu Widgets
Toplevel Widgets
Dialogs
4. Python and CGI Scripts
What is CGI
HTML
HTML Forms
A Guestbook Application
What Can Go Wrong!
HTML Tables
The CGI Script
Rendering of the Script
5. The os Module
The Environment
Creating a Process
Listing Files
Other Process Methods
File Information (Metadata)
Working with Directories
6. Network Programming
Networking Fundamentals
The Client/Server Module
The socket Module
The Client Program
The Server Program
An Evaluation Client and Server
A Threaded Server
Appendix A: What You Might Not Already Know
What is an Iterable?
Creating Your Own Iterators
Generators
The Functions any and all
Thread Fundamentals
Synchronization
Signals
The Python Debugger
The with Statement
Data Compression
Appendix B: Python and Databases
Introduction
DBM Operations
Pickling
Pickling with Complex Objects
Shelves
Using sqlite3
Executing Queries
Table Descriptions
Writing Database Scripts
What makes this material hard to master
This course is broad rather than deep. In two days it moves from data structures to desktop GUIs, CGI, operating-system access and sockets, and each area has its own mental model. The difficulty is switching between those models.
- Lazy versus eager evaluation. The data structures module pairs list, nested list and dictionary comprehensions with generators. Learners often treat generators as lists with different syntax. Appendix A (iterables, writing your own iterators,
anyandall) explains why they are not. Nested comprehensions are also easy to write and hard to read, so deciding when to use them matters as much as the syntax. - Event-driven control flow. In the Tk section you declare components and bind events, and the toolkit calls your code. That inverts the top-to-bottom flow of scripts. Widgets such as Entry, Text, Listbox, Menu and Toplevel each have their own way of reading and updating state.
- Stateless requests. The CGI module builds a guestbook from an HTML form, a table and a script. Each request starts fresh, and the module includes a section on what can go wrong, such as malformed input and broken output.
- Bytes, blocking and concurrency. The network programming module builds a client, a server, an evaluation client and server, and then a threaded server. Blocking calls and shared state are where the bugs appear. The appendix topics on thread fundamentals, synchronization and signals support this, and so does the Python debugger.
- Persistence choices. Appendix B moves from DBM files to pickling, shelves and
sqlite3. Choosing among them is a design decision. Pickled data should only be loaded from sources you trust.
The first module reviews prerequisite material (strings, lists, sets, dictionaries, functions, modules, file I/O) so everyone starts from the same baseline. The later modules assume you can read that material comfortably.
Who it suits and what to take around it
The course suits programmers who already write working Python and now need to build tools that talk to the operating system, the network, a user or a database. The stated prerequisite is an introductory Python course or about six months of hands-on experience. The description names framework builders, people integrating Python with other software, and people working on distributed computing.
If your experience is thinner than that, Introduction to Python 3.x builds the fundamentals that the first module here only reviews. If you can write scripts but want more language depth before the GUI, CGI and socket material, Intermediate Python 3.x sits between the two levels.
Teams that want a longer advanced format can look at Advanced Python 3 (3 Day Course). The Python Programming overview lists the other options.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
These examples show how the syllabus topics combine in practice.
- An internal desktop utility. A support team might wrap a command-line routine in a Tk window. Entry and Listbox widgets would collect input and show results, a dialog would confirm destructive actions, and the
osmodule topics (listing files, file metadata, working with directories) would supply the data. - A small networked service. A team integrating Python with another system might build a socket server that accepts requests from several clients at once. This follows the client program, server program and threaded server pattern. Synchronization and signal handling from Appendix A would govern shared state and shutdown.
- Maintaining a form-based intranet page. An organization that still runs a CGI script might need to fix or extend it. The relevant skills are HTML forms, rendering tables, handling bad input, and storing submissions with
sqlite3by executing queries and writing database scripts.
Using AI coding assistants with these topics
AI coding assistants are useful for the repetitive parts of this material. They can draft comprehensions, lay out Tk widgets, write sqlite3 boilerplate and outline a basic socket client. They are weaker where behavior depends on timing, state or untrusted input.
- Sockets and threads. Generated servers often assume one
recvcall returns one whole message, mishandle text versus bytes, or share data between threads without synchronization. Test with several simultaneous clients, slow clients and abrupt disconnects, not just one happy-path client. - GUI code. Assistants may mix up module names or widget options, or block the event loop with long-running work. Run the window and exercise every widget and menu path.
- CGI and databases. Check that user input is escaped before it is rendered in HTML and that SQL uses parameters rather than string concatenation. Also check that the script produces well-formed output when input is empty or malformed.
- Persistence. An assistant may suggest pickle for convenience. Confirm the data source is trusted before loading it.
To verify, run everything, write tests for edge cases such as empty input, encodings and path handling, and step through suspect code with the Python debugger from Appendix A. Review generated code for resource cleanup, since the with statement is the idiomatic way to handle it.
Frequently asked questions
What level is this course?
It is advanced. It assumes you already write working Python and moves quickly through data structures, GUIs, CGI, the os module, sockets and database persistence.
What should I know before attending?
An introductory Python course or roughly six months of Python programming experience. The first module reviews strings, lists, sets, dictionaries, functions, modules and file I/O, but it is a refresher, not an introduction.
What does the course cover?
Comprehensions, generators and sorting; Tk GUIs with common widgets and dialogs; CGI scripts and HTML forms; the os module for processes, files and directories; socket-based client/server programming including a threaded server; and appendices on iterators, threads, the debugger, pickling, shelves and sqlite3.
Can this be delivered privately for our team, onsite or online?
Yes. Private training for organizations can be delivered onsite at your location or live online.
Can the content be customized?
Private course content can be customized, including tailoring to the Python versions your organization uses. You can describe your needs through the training proposal request.HSG Technology & Workforce Intelligence
Most relevant to Python II: Advanced Python 3
- Network and computer systems administrators, employment: 4,670 (May 2025; U.S. Bureau of Labor Statistics)
- Network and computer systems administrators, concentration relative to the U.S. (location quotient): 1.44 (May 2025; U.S. Bureau of Labor Statistics)
- Network and computer systems administrators, median annual wage: $105,090 (May 2025; U.S. Bureau of Labor Statistics)
- Computer network architects, employment: 10,260 (May 2025; U.S. Bureau of Labor Statistics)
Selected for this course from the verified data in the section below.
Summary
- Computer and mathematical occupations employed 86,530 people in the Denver-Aurora-Centennial, CO metropolitan area in May 2025. Their concentration relative to the U.S. was 1.59, and their median annual wage was $129,100, against $62,320 for all occupations in the area.
- Software developers in the area had a median annual wage of $137,610 in May 2025. The U.S. Bureau of Labor Statistics figure for the United States was $135,980.
- Computer systems design and related services employed 52,465 private-sector workers in the 2024 annual average, up 32.5% from the 2019 annual average.
- The official data counts occupations, industries and degrees, not programming languages. The Python evidence for this area is three college course listings and several user groups. It includes no job-posting or employer-adoption evidence.
- Colleges in the area awarded 1,640 computing degrees and certificates in the 2023-24 academic year. This is a signal about talent supply, not a promise of it.
Workforce: occupations, industries and pay
These figures describe occupations and industries, not Python use. Software developers numbered 27,010 in May 2025, a concentration of 1.55 relative to the U.S. and 16.78 jobs per 1,000 jobs. The Colorado figure for software developers was 1.39 in the same month. Other computing occupations in the area also had concentrations above the national level in May 2025:
- Data scientists: 4,510 employed, concentration 1.66, median annual wage $112,520.
- Software quality assurance analysts and testers: 3,620 employed, concentration 1.87, median annual wage $123,690.
- Network and computer systems administrators: 4,670 employed, concentration 1.44, median annual wage $105,090.
- Computer network architects: 10,260 employed, concentration 5.51.
Architecture and engineering occupations employed 43,820 people, with a concentration of 1.62 and a median annual wage of $104,060.
On the industry side, computer systems design and related services had a concentration of 2.08 in the 2024 annual average and an average weekly wage of $3,244. Software publishers had a concentration of 1.90 in the 2019 annual average. Computing infrastructure, data processing and web hosting had 3.17 in the same period.
Talent: education and graduate production
In the 2020-2024 American Community Survey, 49.4% of residents aged 25 and over in the metropolitan area held a bachelor's degree or higher, compared with 45.7% in Colorado and 35.7% in the United States. Another 18.6% of area residents held a graduate or professional degree. Among bachelor's degree holders, 5.3% had a degree in computers, mathematics or statistics, compared with 5.4% in Colorado and 5.1% in the United States. A further 40.1% held a degree in science or engineering.
In the 2023-24 academic year, area colleges awarded 1,640 computing degrees and certificates, or 54.6 per 100,000 residents. They included 307 associate, 650 bachelor's, 670 master's and 13 doctoral degrees. The institutions awarding the most were the University of Colorado Denver/Anschutz Medical Campus (354), Colorado School of Mines (352) and the University of Denver (346). Data science was a small program: 20 master's degrees, all at Colorado School of Mines. Mathematics and statistics added 140 degrees and certificates, and engineering 1,748. Graduate counts are leading indicators of supply, not predictions of hiring.
Economy: change over time, output and federal funding
The area's population was 3,002,721 in the 2020-2024 survey period, up 3.8% from 2015-2019. Private-sector employment rose 5.9% between the 2019 and 2024 annual averages, and the number of establishments rose 21.3%. The average weekly wage across all industries reached $1,709 in 2024, up 30.4% from 2019. Real gross domestic product was $259.0 billion (chained 2017 dollars) in 2023, up 22.6% from 2018.
Technology-related industries grew faster than the whole:
- Computer systems design and related services: establishments up 65.3% and average weekly wage up 42.0% from the 2019 to the 2024 annual average.
- Software publishers: establishments up from 463 to 1,101.
- Scientific research and development services: establishments up from 307 to 747.
Federal contract obligations by place of performance, summed across the area's 10 counties, were $10.5 billion in FY2025, against $7.4 billion in FY2021. Federal grant obligations were $2.2 billion in FY2025, against $5.3 billion in FY2021. Federal obligations are signals to watch, not commitments of future work.
How Denver compares
| Area | Bachelor's or higher (ACS 2020-2024 5-year) | Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year) | Computer and math jobs, LQ (May 2025) | Software developers, LQ (May 2025) | Software developers, median wage (May 2025) |
|---|---|---|---|---|---|
| Denver-Aurora-Centennial, CO | 49.4% | 5.3% | 1.59 | 1.55 | $137,610 |
| United States | 35.7% | 5.1% | 1.00 | 1.00 | $135,980 |
| Colorado | 45.7% | 5.4% | 1.40 | 1.39 | $138,390 |
| Nashville-Davidson--Murfreesboro--Franklin, TN | 40.9% | 4.3% | 0.92 | 0.65 | $126,610 |
| Las Vegas-Henderson-North Las Vegas, NV | 27.8% | 4.6% | 0.55 | 0.23 | $129,940 |
| Orlando-Kissimmee-Sanford, FL | 36.7% | 4.7% | 0.93 | 0.88 | $129,620 |
| Charlotte-Concord-Gastonia, NC-SC | 39.9% | 5.7% | 1.35 | 1.41 | $135,920 |
| San Antonio-New Braunfels, TX | 32.3% | 5.0% | 0.85 | 0.65 | $128,430 |
LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.
Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.
Skills: what this means for Python learners
This part is HSG's interpretation of the data above for people learning Python. The official sources measure occupations, industries and degrees, not programming languages.
What the Python-specific evidence shows. Three area colleges list Python in their course materials. The Community College of Denver catalog lists CSC 2017 Advanced Python Programming. The CU Denver catalog lists CSCI 3920 Advanced Programming with Java and Python. Metropolitan State University of Denver's course-syllabi page lists CSS 1020 Python Fundamentals. On the community side, the Denver Python Users Group and the Denver Python Meetup have Meetup pages, and the Django community page lists the Users Group as active with a monthly meetup and a study group. Front Range Pythoneers describes itself as an active group meeting in Denver and Boulder, with about 1,779 members. These items show teaching and community activity. They are not evidence of employer adoption, and this area's evidence contains no job postings.
Interpretation. Python's typical uses are data analysis and reporting, automation and scripting, testing tools, systems administration, machine-learning pipelines and web back ends. These fit several of the area's strongest occupations. Data scientists and software developers work with analysis and pipelines. Quality assurance testers and systems administrators work with test and automation scripts. The area's concentration in computer systems design and software publishing means many roles involve building and maintaining software. For learners, pandas and NumPy suit analysis work, pytest suits testing, and Django, Flask and FastAPI suit web back ends. Whether a particular employer wants Python is a question for its job listings.
Python Programming courses and learning guide | Request a training proposal
About this data: sources, periods and limitations
- U.S. Census Bureau: American Community Survey 5-year estimates (ACS 2020-2024 5-year)
- U.S. Bureau of Labor Statistics: Occupational Employment and Wage Statistics (May 2025)
- U.S. Bureau of Labor Statistics: Quarterly Census of Employment and Wages (2024 annual average; 2019 annual average)
- National Center for Education Statistics: IPEDS completions (2023-24 academic year)
- U.S. Bureau of Economic Analysis (via FRED, Federal Reserve Bank of St. Louis): Regional economic accounts (2023)
- U.S. Department of the Treasury (USAspending.gov): Federal awards by place of performance
- catalog.ccd.edu: Community College of Denver Catalog - Computer Science (CSC) courses (checked 2026-11-29)
- catalog.ucdenver.edu: CU Denver Academic Catalog - Java and Python courses (CSCI) (checked 2026-11-29)
- msudenver.edu: Metropolitan State University of Denver - computer science course syllabi (C++ and Python) (checked 2026-11-29)
- meetup.com: Denver Python Users Group - Python meetup group (checked 2026-11-29)
- meetup.com: Denver Python Meetup (checked 2026-11-28)
- djangoproject.com: Denver Python Users Group (checked 2026-11-28)
- meetup.com: Front Range Pythoneers (checked 2026-11-28)
- Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
- Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
- Residents aged 25 and over with a bachelor's degree or higher: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Share of residents aged 25 and over with a bachelor's degree or higher.
- Bachelor's degree holders whose degree is in computers, mathematics or statistics: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Computers, mathematics and statistics.
- Residents aged 25 and over with a graduate or professional degree: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Master's, professional or doctoral degree, aged 25 and over.
- Population: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence).
- Bachelor's degree holders whose degree is in science or engineering: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field).
- All occupations, computer and mathematical occupations, network and computer systems administrators and others: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
- Computer and mathematical occupations, computer network architects, network and computer systems administrators and others: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
- All industries: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 10 (NAICS).
Training locations
Python II: Advanced Python 3 training across the U.S. and beyond.
We provide private Python II: Advanced Python 3 training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Python II: Advanced Python 3 training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.