|
You are here |
atilaoncode.blog | ||
| | | | |
www.nayuki.io
|
|
| | | | | [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
|
|
| | | | | 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
|
|
| | | | | 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
|
|
| | | GitHub Gist: instantly share code, notes, and snippets. | ||