
Welcome to the Treehouse Library
This is a sample catalog of all the courses we offer. Browse by topic or difficulty. Sign up today and get access to our entire library. Treehouse students get access to workshops, bonus content, conferences, and more.
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- Newest
-
All Topics
- All Topics
- • AI
- • JavaScript
- • Databases
- • Python
- • Design
- • React
- • HTML
- • CSS
- • Data Analysis
- • Java
- • C#
- • Android
- • Computer Science
- • PHP
- • Quality Assurance
- • APIs
- • Security
- • Digital Literacy
- • Development Tools
- • Business
- • 21st Century Skills
- • Ruby
- • Machine Learning
- • Learning Resources
- • Go Language
- • Equity, Diversity, and Inclusion (EDI)
Python
Python is a widespread, general purpose, open source programming language used for many different purposes. Focusing on a clean syntax and ease of use, it’s great for beginners and professionals alike.
-
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 -
18 minWorkshop
Python Virtual Environments
If you're building apps with Python, you'll most likely be using third-party libraries and therefore need to use a virtual environment. This workshop will explain what Python virtual environments are. Then, you'll learn to use the venv tool to work with virtual environments, and how to install packages specific to your project. Finally, you'll learn how to replicate your virtual environments with others, such as fellow students, clients, or your development team. You will finish the workshop with a solid understanding of how to use virtual environments to maintain project dependencies and avoid conflicts with other Python projects.
Viewed -
10 minWorkshop
How to Install Python (Windows)
If you’d like to become a Python developer, installing Python onto your computer is one of the first steps. So far, you may have been working in an online Python editor, such as Treehouse Workspaces. In this workshop, we'll talk about why it’s beneficial to install Python. Then, I’ll walk you through how to do so step by step. Once we’ve done so, we’ll also explore the built-in Python code editor IDLE so we can start using Python right away!
Viewed -
11 minWorkshop
How to Install Python (macOS)
If you’d like to become a Python developer, installing Python onto your computer is one of the first steps. So far, you may have been working in an online Python editor, such as Treehouse Workspaces. In this workshop, we'll talk about why it’s beneficial to install Python. I’ll walk you through how to do so step by step. Once we’ve done so, we’ll explore the built-in Python code editor, IDLE, so we can start using Python right away!
Viewed -
11 minPractice
Practice Setting Up a Python Project
Practice setting up a Python project locally and on GitHub.
Viewed -
9 minPractice
Practice Error Handling
Practice your error handling skills using try/except blocks.
Viewed -
13 minPractice
Practice Cleaning Data
Practice accessing data and cleaning it for use in other functions or programs.
Viewed -
7 minPractice
Practice Emulating Built-ins
Practice emulating Python's built-in methods dunder str, dunder eq, and dunder iter.
Viewed -
8 minPractice
Practice OOP Vocabulary
Test your knowledge of OOP vocabulary with this practice session.
Viewed -
17 minWorkshop
Dunder Main
In this workshop, we’ll talk about using a recommended Python best practice, dunder main to control the execution of our code.
Viewed -
33 minWorkshop
Data from APIs
Use Python to gather data from an API and save it to a CSV file.
Viewed -
42 minWorkshop
Relational Databases With SQLAlchemy
Learn how to interact with multiple tables through relationships using Python's SQLALchemy.
Viewed -
95 minWorkshop
Python Sets
Dive into the basics of Python Sets! A set is an unordered collection of unique elements without duplicates. Elements are identified by membership rather than position. This workshop will introduce you to how to create and manipulate sets as well as how to perform common set operations.
Viewed -
33 minWorkshop
Hello Python
An introduction to the Python programming language. Learn about what backend development is and how Python differs from other programming languages. Jump into writing code and creating your first small program.
Viewed -
33 minWorkshop
Analyzing Books with Pandas
Walkthrough an analysis of books using Python's Pandas.
Viewed -
56 minWorkshop
Structuring Your Code
Improve your code structure by applying narrative flow, iterative coding, KISS, and DRY methods.
Viewed -
8 minPractice
Practice Input and Output in Python
You've got the ability to get information from the user, input, and show them some results: output. Let's put your skills to work!
Viewed -
3 minPractice
Practice Python While Loops
While you are learning about loops, take a moment to practice using while loops.
Viewed -
5 minPractice
Practice Creating and Indexing Lists
Let's practice creating lists and printing their contents.
Viewed -
6 minPractice
Practice Comparisons in Python
A quick review of data types, making comparisons, and using if and elif statements in Python.
Viewed -
12 minWorkshop
Pipenv: The Python Package Manager
Pipenv is a production-ready tool that aims to bring the best of all packaging worlds to the Python world. It harnesses Pipfile, pip, and virtualenv into one single command.
Viewed -
15 minWorkshop
Introduction to Anaconda
Learn why you want to use Anaconda, and then learn how
Viewed -
22 minPractice
Practice Writing Loops in Python
Programming with loops can be tricky, and the best way to get comfortable and grow your understanding is by practicing them.
Viewed -
15 minWorkshop
Jupyter Notebooks
The Jupyter project has an amazing tool for Python, Julia, R, and other languages. Learn how to install Jupyter Notebooks, use them, and install kernels for other languages.
Viewed -
4 minPractice
Practice Basic Math Calculations in Python
Let's practice doing math and type conversions!
Viewed -
3 minPractice
Practice Using Strings and Lists in Python
Practice creating basic strings and lists in Python. Use Python's multiplication abilities to save yourself some work!
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 -
7 minWorkshop
What's New in Python 3.6?
Python 3.6 was released in December, 2016 and brought with it some great new features. Let's look at a few of them in detail to see what you can start adding to your code today!
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 -
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 -
22 minWorkshop
PyCharm
Want to use an IDE for your Python, Flask, or Django development? This workshop will show you how to install PyCharm and explore some of its more useful features.
Viewed -
23 minWorkshop
Image Manipulation with Python
Learn how to use Python and the Pillow library to modify images through code.
Viewed -
40 minWorkshop
Tkinter
Learn how to use the built-in tkinter library to produce GUI applications that run on your computer.
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 -
13 minWorkshop
Using the Requests Library
The requests library is one of the most popular Python libraries, period. It's amazingly friendly and useful and makes working with RESTful APIs on the Internet a breeze. In this workshop, we'll look at how to use the library to make GET, POST, and other requests, how to process JSON data, and how to handle HTTP Basic and Digest auths.
Viewed -
53 minWorkshop
Functional Programming with Python
Kenneth Love provides a quick overview and introduction to the world of functional programming and how to use it in Python
Viewed
Whoops! Perhaps you can try a broader search.