For web applications especially, formatting a date is a pretty common task. Take a look at just about any website, whether it's an email client like Gmail, Twitter, or even on Stack Abuse articles, there is inevitably a date/time string somewhere on the page. In many cases, especially apps
Tag: how to
Writing unit tests is one of those things a lot of people forget to do or just avoid altogether, but when you have them they're lifesavers.
Test-driven development, which means you write your tests before your code, is a great goal to strive for, but takes discipline and planning when
There are quite a few ways to solve a problem in programming, and this holds true especially in Python. Many times you'll find that multiple built-in or standard modules serve essentially the same purpose, but with slightly varying functionality. Checking if a file or directory exists using Python is definitely