In this video course, you’ll learn how to use the pathlib module to carry out file path operations with Python. These operations include creating, iterating over, searching for, moving, and deleting files and folders.
Posts for: #Real-Python
Python Basics: Finding and Fixing Code Bugs
In this Python Basics video course, you’ll learn how to identify and fix logic errors, or bugs, in your Python code. You’ll use the built-in debugging tools in Python’s Integrated Development and Learning Environment to practice locating and resolving bugs in an example function.
Python News: What’s New From June 2022
June 2022 was full of exciting Python news! Quickly get up to speed on what’s been happening in the world of Python in the past month. You’ll read about the PSF elections, PEP 691, the 2021 Python Developers Survey results, and more.
Build Your Python Project Documentation With MkDocs
In this tutorial, you’ll learn how to build professional documentation for a Python package using MkDocs and mkdocstrings. These tools allow you to generate nice-looking and modern documentation from Markdown files and, more importantly, from your code’s docstrings.
Combining Data in pandas With concat() and merge()
In this video course, you’ll learn two techniques for combining data in pandas: merge() and concat(). Combining Series and DataFrame objects in pandas is a powerful way to gain new insights into your data.
Exploring Scopes and Closures in Python
In this Code Conversation video course, you’ll take a deep dive into how scopes and closures work in Python. To do this, you’ll use a debugger to walk through some sample code, and then you’ll take a peek under the hood to see how Python holds variables internally.
Raining Outside? Build a Weather CLI App With Python
In this tutorial, you’ll write a nicely formatted Python CLI app that displays information about the current weather in any city you provide the name for.
Build and Submit HTML Forms With Django – Part 4
In the final part of this tutorial series, you’ll continue to build out a social network with Django. You’ll wrap up by working with Django forms, learning how to display helpful error messages, setting up dynamic URLs in your app, and more.
Build and Handle POST Requests in Django – Part 3
In the third part of this tutorial series, you’ll continue to build out a social network with Django. You’ll make it possible to follow and unfollow user profiles, create buttons to handle POST requests, and set up Django models for your users’ text-based content.
Build a Django Front End With Bulma – Part 2
In the second part of this tutorial series, you’ll continue to build out a social network with Django. You’ll learn how to set up routing, views, and templates for your app. You’ll also apply CSS styling to the Django front end by using the Bulma framework to improve your app’s user interface.