Learn how I used Python in my daily life to convert 5,000 RAW images into the JPEG format.
In this introductory tutorial, you will build a recurrent neural network (RNN) with PyTorch.
The Python module collections contains many useful tools. This is an overview of those tools.
Go through the complete code for a Python project that consists in finding similar photographs in a folder. This tutorial will make use of classical techniques and is suitable for beginners.
Can you prove that there are arbitrarily many primes in arbitrarily big intervals?
How do you implement a case-insensitive (or caseless) dictionary? In this article we explore solutions where we inherit from the built-in dict
, the abstract base class MutableMapping
from the standard module collections.abc
, and the UserDict
in the standard module collections
.
Learn how I found over +10,000 bugs in Python code all over GitHub and how all those bugs could have been fixed by importing the Python module string and using the constants ascii_lowercase
and ascii_uppercase
.
This is a short and practical tutorial that guides you on how to work with case-insensitive strings in Python and teaches how to use the str.lower
, str.upper
, and str.casefold
methods.
This article shows how to communicate between Python and Dyalog APL through the use of sockets. We will use the module socket
from Python and the Conga workspace from Dyalog.
Running Python inside ChatGPT shows some amazing capabilities that ChatGPT has to understand Python code and evaluate it for you.
Today I learned about the type hint Any
and its bidirectional compatibility with all other types.
Today I (re)learned how to delete a file in Python with the module pathlib.
Today I (re)learned Heron's formula to compute the area of a triangle from its three sides.
Today I learned that you can add suggestions directly when reviewing pull requests on GitHub.
Today I learned how to edit multiple lines in the VS Code code editor.
How do you create a Python package? How do you set up automated testing and code coverage? How do you publish the package? That's what this article teaches you.
This is the written version of my EuroPython 2022 lightning talk “Smoosh all the things”.