News

The cProfile module gathers statistics about the execution time of a Python program. It can report on anything from the entire app to a single statement or expression. Here is a toy example of how ...
The Timeit module attempts to perform something like actual benchmarking on Python code. The timeit.timeit function takes a code snippet, runs it many times (the default is 1 million passes), and ...
This post explains what a Python module is and how to use it to drastically extend the capabiltiies of your code. Plus: how to make your own!
In this video, I'm going to teach you how to write unit tests in Python using a module called Pytest. It's a skill you'll ...
Welcome to a new tutorial series on Beautiful Soup 4! Beautiful Soup 4 is a web scraping module that allows you to get information from HTML documents and modify them as well. It's very versatile and ...