Fosstodon Mastodon

Articles filed under Python


dateutil.relativedelta: A must have tool in your python kitty

Making additions or subtractions to datetime variables is one of the most commonly encountered programming endeavors and that's what the built-in datetime.datetime.timedelta object is for in python. Its very useful in adding hours or days to your datetime variables as follows: import datetime now = datetime.datetime.now() tea_time … Read More




A crash course in python packaging

This guide isn't for the newbie who is just learning python programming (they are better off doing a "proper" reading of the official docs instead). This is for the seasoned coder who dabbles in multiple technologies and needs a quick refresher on how to go about building a neat zip … Read More






Page 1 / 2 »