A Python Model for Ping Pong Matches
Because I’d rather write Python code than practice against my robot, I’ve created a model in Python to try to get an idea of what I should practice most to win more games.
Because I’d rather write Python code than practice against my robot, I’ve created a model in Python to try to get an idea of what I should practice most to win more games.
I have never need to use the finally keyword in Python to clean up after handling errors, so it took me some time to come up with a real-world use case. With the help a colleague, I did come up with one. This article describes a real-world use case for finally.
This article shows a Python script that demonstrates how the Collatz Conjecture works.
In this brief article, we show you how to modify the autosave interval for all your Jupyter notebooks.
In this article, I show how to create a simple Simulation class in Python. The purpose of the class is to run a simulation many times and then return stats (e.g., mean, median, etc.) on the results of the simulation.
Academic for sure, but I was surprised to find that date.strftime() is slower than converting the date to a string, splitting the string into a list, unpacking the list into year, month, and day strings and then concatenating those to format the date.
In this article, we explain why you shoul never user static methods in Python.
Forgetting your MySQL root password can be scary, but thankfully there is a way to reset it. In this brief article, we will show you how.
In this brief article and accompanying video, we explain the Python magic __main__ variable.
In this short video, we use Python to explain how scientific notation works.