|
You are here |
saeedesmaili.com | ||
| | | | |
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: | |
| | | | |
preslav.me
|
|
| | | | | I am a software engineer with decades of experience developing software in Python, Go, and Java. | |
| | | | |
joshua.hu
|
|
| | | | | Regular expressions are rarely the solution, but sometimes they can be helpful. I recently needed to create some regex which could be used to parse real domain names, and finding a definitive expression seemed to be difficult; especially one that wasn't vulnerable to ReDoS. | |
| | | | |
mijndertstuij.nl
|
|
| | | Joining the bandwagon of sharing my default apps for 2024. | ||