Skip to main content

Instructor-led training

Introduction to Python 3.x Training in Denver, Colorado

This four day course leads the student from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules.

What you'll learn

This four day course leads the student from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting. This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises. Python Programming is a practical introduction to a working programming language, not an academic overview of syntax and grammar. Students will immediately be able to use Python to complete tasks in the real world.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Denver, 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 Training

Course Outline

About this Course
Welcome
Classroom etiquette
Course outline
Student files
Extracting the student files
Examples
Lab exercises
Appendices
 
An Overview of Python
What is Python?
The Birth of Python
Python Timeline
About Interpreted Languages
Advantages of Python
Disadvantages of Python
How to Get Python
How to Get Python?
The end of 2.x
Getting Help
Pydoc
Using Pydoc
 
The Python Environment
Starting Python
If the Interpreter is Not in Your PATHs
Using the Interpreter
Trying Out a Few Commands
The help() Command
Running a Python Script
Python Scripts on Unix
Python Scripts on Windows
Python Editors and IDEs
 
Getting Started
Using Variables
Keywords
Built-in Functions
Variable Typing
Strings
Single-delimited String Literals
Triple-delimited String Literals
Raw String Literals
Unicode Characters
String Operators and Methods
Numeric Literals
Math Operators and Expressions
Converting Among Types
Writing to the Screen
String Formatting
Command Line Parameters
Reading From the Keyboard
 
Flow Control
About Flow Control
What's with the White Space
If and Elif
Conditional Expressions
Relational Operators
Boolean Operators
While Loops
Alternate Ways to Exit a Loop
 
Sequences
About Sequences
Lists
Tuples
Indexing and Slicing
Iterating Through a Sequence
Using Enumerate()
Functions for All Sequences
Keywords and Operators for All Sequences
The Range() Function
Nested Sequences
List Comprehensions
Generator Expressions
 
Working with files
Text File I/O
Opening a Text File
The With Block
Reading a Text File
Writing to a Text File
Non-Delimited (Raw) Data
 
Dictionaries and Sets
About Dictionaries
When to Use Dictionaries
Creating Dictionaries
Getting Dictionary Values
Iterating Through a Dictionary
Reading File Data into a Dictionary
Counting with a Dictionary
About Sets
Creating Sets
Working with Sets
 
Functions
Defning a Function
Function Parameters
Returning Values
Variable Scope
 
Sorting
Sorting
The Sorted() Function
Alternate Keys
Lambda Functions
Sorting Nested Data
\Sorting Dictionaries
Sorting in Reverse
Sorting Lists in Place
 
Using Modules
Regular Expressions
RE Syntax Overview
RE Objects
Searching for Patterns
Matching Without Re Objects
Compilation Fags
Grouping
Special Groups
Replacing Text
Splitting a String
 
Using the Standard Library
The Sys Module
Interpreter Information
STDIO
Launching External Programs
Paths, Directories, and Filenames
Walking Directory Trees
Grabbing Web Pages
Sending E-Mail
Math Functions
Random Values
Dates And Times
Zipped Archives
 
An Introduction to Python Classes
About O-O Programming
Defining Classes
Initializers
Instance Methods
Properties
Class Methods and Data
Static Methods
Private Methods
Inheritance
Untangling the Nomenclature
 
Bonus Exercises
Appendix A: Bibliography
Appendix B: Python Gotchas
Appendix C: String Formatting

What makes this material hard to master

The syntax is small. The difficulty is thinking in Python's own idioms instead of translating code from another language. The syllabus builds toward that in layers.

  • Core types and whitespace. Variables, dynamic typing, strings (single, triple-delimited, raw and Unicode literals), numeric conversion and string formatting come first. Flow control follows, where indentation is the block structure.
  • Sequences. Lists, tuples, indexing and slicing, enumerate(), range(), nested sequences, list comprehensions and generator expressions. Slicing and comprehensions are the features most unlike C-family languages, and learners often write index-based loops instead. The course description calls out tuples, slices and output formatting as Python-specific.
  • Dictionaries and sets. Counting with a dictionary, reading file data into one, and set operations. Choosing the right structure matters more than knowing the method names.
  • Functions, sorting and lambdas. Parameters, return values and variable scope lead into sorted(), alternate sort keys, lambda functions and sorting nested data. Scope rules and how parameters are passed are a common source of surprises, so watch them in the labs.
  • Regular expressions. Pattern syntax, groups, special groups, substitution and splitting. The notation is dense, and most errors come from patterns that match more or less than intended.
  • Standard library and classes. sys, launching external programs, directory walking, dates and times, zipped archives, and then initializers, properties, class and static methods, and inheritance.

A common misconception is that a short course on the basics means shallow scripts. The later topics, such as file handling with the with block, regular expressions and library use, are what let people automate real tasks, and they depend on the earlier material being solid.

Who it suits and what to take next

This is an introductory, hands-on course. The syllabus starts with what Python is, how to run the interpreter and scripts, and how to use variables, so it suits people who are new to Python, whether or not they have programmed before. Typical audiences are administrators, analysts, testers and developers who need to automate tasks, process text and files, or read and maintain existing scripts. Teams that maintain older code will also meet the syllabus topic on the end of Python 2.x, which is relevant when scripts written for Python 2.x need to be understood or migrated. Python 2.x support ended in January 2020.

After this course, Intermediate Python 3.x is a natural next step if you want to go further than the object-oriented introduction and the standard-library tour here. If your work is mostly tabular data, Python Data Analysis with NumPy and Pandas builds on the basics of sequences, dictionaries and file input and output. The Python Programming courses and learning guide shows other routes.

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.

  • Log and report processing. A support team might read text files with a with block, pull out fields using regular expression groups, tally results in a dictionary, and write a sorted summary using sorted() with a lambda key.
  • File housekeeping. An operations group might walk a directory tree, filter files by name and date, bundle them into a zipped archive and send a notification e-mail, using the path, directory, date and time, archive and e-mail topics from the standard-library section.
  • Reusable utilities. A developer might package a repeated task as a small class with an initializer, properties and a couple of methods, so colleagues can import it instead of copying a script.

Using AI coding assistants with these topics

AI coding assistants are useful for drafting short scripts, first-pass regular expressions, sort keys and boilerplate for classes. They are also good at explaining unfamiliar code. For a beginner this speeds up experiments, but it can hide gaps: if you cannot read a comprehension or slice, you cannot judge whether the generated version is right.

They tend to fail on details. Regular expressions often look right and break on empty input, unusual whitespace or multiline text. Generated file code may ignore character encoding, a missing file or an empty file. Path handling may assume one operating system. Code that launches external programs or sends e-mail needs close review before it touches real systems. Assistants may also produce Python 2-style idioms or mix styles.

To verify, run the code on small inputs you can check by hand, including empty and malformed ones. Print intermediate values, and test regular expressions against both matching and non-matching examples. Read every line you will automate, and confirm that sorting, counting and slicing behave as you expect. The practice in this course on reading and writing these constructs is what makes that review possible.

Frequently asked questions

What level is this course?

It is introductory. It starts with running the interpreter and scripts, variables and strings, and progresses over four days to files, regular expressions, standard-library modules and an introduction to classes.

Are there prerequisites?

None are stated for this course. The syllabus begins with the basics of Python and its environment. Prior programming experience in any language is likely to help with pacing.

What does the course cover?

Variables and strings, flow control, lists and tuples with slicing and comprehensions, text file input and output, dictionaries and sets, functions, sorting, regular expressions, selected standard-library modules (such as sys, directory walking, dates and times, and zip archives) and basic object-oriented programming. Labs reinforce each topic.

Can this be delivered privately onsite or online?

Yes. HSG provides private training for organizations, delivered at your location or live online.

Can the course be customized?

Private training can be tailored to your team's needs and to the Python versions your organization uses, including current releases. You can request a training proposal to discuss it.

HSG Technology & Workforce Intelligence

Most relevant to Introduction to Python 3.x

  • Data scientists, employment: 4,510 (May 2025; U.S. Bureau of Labor Statistics)
  • Data scientists, concentration relative to the U.S. (location quotient): 1.66 (May 2025; U.S. Bureau of Labor Statistics)
  • Data scientists, median annual wage: $112,520 (May 2025; U.S. Bureau of Labor Statistics)
  • Data science, degrees and certificates, all levels awarded: 20 (2023-24 academic year; National Center for Education Statistics)

Selected for this course from the verified data in the section below.

27,010Software developersMay 2025
1.55Concentration vs. U.S.1.00 = U.S. average; May 2025
$137,610Median annual wageU.S. $135,980; May 2025
1,640Computing graduates2023-24 academic year
7Verified local technology sourcesemployers, colleges, user groups

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

AreaBachelor'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, CO49.4%5.3%1.591.55$137,610
United States35.7%5.1%1.001.00$135,980
Colorado45.7%5.4%1.401.39$138,390
Nashville-Davidson--Murfreesboro--Franklin, TN40.9%4.3%0.920.65$126,610
Las Vegas-Henderson-North Las Vegas, NV27.8%4.6%0.550.23$129,940
Orlando-Kissimmee-Sanford, FL36.7%4.7%0.930.88$129,620
Charlotte-Concord-Gastonia, NC-SC39.9%5.7%1.351.41$135,920
San Antonio-New Braunfels, TX32.3%5.0%0.850.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
  • 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

Introduction to Python 3.x training across the U.S. and beyond.

We provide private Introduction to Python 3.x training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Introduction to Python 3.x 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
Request Group Training

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.