Intermediate Python
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
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-
1 minInstruction
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 -
- 1
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.
-
14 minWorkshop
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 -
14 minWorkshop
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 -
- 1
- 2
SQLAlchemy Basics
Creating a SQL database including model creation and CRUD using SQLAlchemy.
-
42 minWorkshop
Relational Databases With SQLAlchemy
Learn how to interact with multiple tables through relationships using Python's SQLALchemy.
Viewed -
- 1
- 2
- 3
Python Testing
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!
-
43 minWorkshop
Python Comprehensions
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 -
23 minWorkshop
Python Decorators
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 -
15 minWorkshop
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 -
- 1
- 2
- 3
Functional Python
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.
-
Track Completion
This course includes:
- Welcome to Intermediate Python 1 min
- Regular Expressions in Python 110 min
- Python File I/O 14 min
- CSV and JSON in Python 14 min
- SQLAlchemy Basics 3 hours
- Relational Databases With SQLAlchemy 42 min
- Python Testing 77 min
- Python Comprehensions 43 min
- Python Decorators 23 min
- Python Type Hinting 15 min
- Functional Python 2 hours