December 2023 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Author Archives: KevinYager
Python pathlib is the modern way to handle file paths. But I always forget how to break apart a path into components (directory part, filename part, etc.). This image is a cheat-sheet for working with Path, breaking it apart into … Continue reading
Working with dates and times in Python often involves converting between the various possible representations. Here is a graphic to quickly lookup how to convert between the different formats (epoch, struct_time, Python datetime object, string representation, and matplotlib date convention).
Awhile ago, I wrote some code to graph my email behavior (in the spirit of Stephen Wolfram). I have been teleworking for the last 11 weeks (due to COVID19), and was curious to see how this shows up in my … Continue reading
I have moved the website over to WordPress.