Welcome to Tracks
Treehouse Tracks are guided curriculums that cover all relevant Courses and Workshops necessary to master a subject. Treehouse’s learning library includes dozens of Tracks on a variety of topics including web design, programming, and more. With Compass, you’ll also be able to test out of subjects you already know, and create a custom curriculum for your learning goals.View all Tracks
Ready to start learning?
Treehouse offers a 7 day free trial for new students. Get access to 1000s of hours of content. Learn to code, land your dream job.Start Your Free Trial
Welcome to Intermediate Python
We're so glad you are here! In order for this track to do it's magic, we'd like to make sure that you have a fairly strong Python foundation set. You can pick up those skills in our [Beginning Python track](/tracks/beginning-python)....(continue reading)Viewed
Regular Expressions in Python
Regular expressions are one of the tools that every programmer needs, but is often scared of. In this course, we'll explore the re module that Python provides and learn to write regular expressions for many different situations.
Python File I/O
You're likely to find that, sooner or later, you're going to need to read and write data to and from files. Python makes that easy so let me show you how!Viewed
CSV and JSON in Python
CSV and JSON files are two very common formats for storing and retrieving data. Both have great support in the Python language. Let's see how to take advantage of each of these file types.Viewed
Creating a SQL database including model creation and CRUD using SQLAlchemy.
Relational Databases With SQLAlchemy
Learn how to interact with multiple tables through relationships using Python's SQLALchemy.Viewed
Every project can benefit from testing and Python's testing library is solid, strong, and easy to learn and use. In this course, we'll learn about doctests, Python's unittest library, and the super-handy third-party package coverage.py. Come along and learn to assert yourself!
This Workshop introduces students to a convenient way of working with iterables with Python. Here, you’ll learn how to skip conditional looping and create new sequences straight from existing sequences, such as lists, dictionaries, and sets. Take your Python skills to a whole new level by learning Comprehensions!Viewed
Decorators in Python are a common way of wrapping repeated functionality around your functions, methods, and classes. They're also one of the trickier things to learn how to build yourself. Let's see how to construct our own decorators and learn a bit about how Python handles functions, scope, and closures.Viewed
Python Type Hinting
Pythonistas have always relied on duck typing to handle different values in variables. Starting with Python 3.0, continuing in 3.5, and wrapping up in 3.6, type hints have been added to Python. What are these strange constructs and what have they done with all the ducks?Viewed
Functional programming is a great addition to any programmer's toolset. FP allows you to quickly filter lists, modify values, find answers, and other repetitious tasks with less code than other approaches.
Python is a programming language that is used for a variety of different web applications. In this Intermediate Python learning Track, you'll take your Python skillset to the next level.
For this Track, the recommended prerequisite is our Beginning Python Track.
While basic Python has many useful applications, intermediate Python is your key to progressing into more advanced work with data, machine learning, programming, and much more.
This Track starts with a Python File I/O course—mastering the re module that Python provides will help you read and write data to and from files, as well as write regular expressions for many different situations.
Next, you'll learn CSV and JSON for Python. CSV and JSON files are two very common formats for storing and retrieving data, and are an important building block for intermediate Python.
Database interaction is often an important part of Python work—you'll explore it in this Track with the ORM Peewee. In this databases course, you'll build a command line diary application that puts your thoughts and notes into a SQLite database, lets you review and delete them, and has a search feature.
Next up is Python Testing and Python Comprehensions, respectively. In the Testing course, you'll cover doctests, Python's unit test library, and the third-party package coverage.py. The Comprehensions course teaches you what you'll need in order to skip the for loop and start creating lists, dicts, and sets straight from your iterables. You'll also learn how to use comprehensions to emulate things like map() and filter() in an easier way.
The next course in the Track is Python Decorators—you'll how to construct your own decorators and learn the ways Python handles functions, scope, and closures. Python Type Hinting is next up—the Python versions 3.0, 3.5, and 3.6 all use type hints, and you'll learn all about them.
Finally, to wrap up the Intermediate Python Track, you'll cover Functional Python. Functional programming in Python allows you to quickly filter lists, modify values, find answers, and other tasks with a clean, minimal approach.
Take your programming skills to new heights with this Intermediate Python Track!
An entry-level salary for the technologies covered in this track is about $70,000 / yr on average.
Some companies that use these technologies regularly include: Google, NASA, Nokia, IBM, Digg, Dropbox, Pinterest, Reddit, Yelp, Apple, and Amazon