/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

atilaoncode.blog
| | www.nayuki.io
9.6 parsecs away

Travel
| | [AI summary] The author announces the permanent end of support for Python 2 in their personal code and published libraries, migrating exclusively to Python 3.
| | www.jeremymorgan.com
6.4 parsecs away

Travel
| | In this guide, we will explore the different ways to convert a string into bytes in Python. We will discuss the most common methods and their applications, as well as provide examples and code snipp ...
| | dusty.phillips.codes
7.5 parsecs away

Travel
| | I really appreciate Python's pathlib module for managing filesystem stuff. While I don't love the argparse module for command line parsing, I don't think it's worse than other available options. I usually choose it for my CLI scripts, since nothing else is good enough to overcome the inertia of using a third party library. Not many people seem to be aware that the two can very easily be combined such that argparse will return Path objects instead of strings that need to be adapted after you query them:
| | gist.github.com
29.7 parsecs away

Travel
| GitHub Gist: instantly share code, notes, and snippets.