Skip to content

Instantly share code, notes, and snippets.


Charlie Solomon charliesolomon

View GitHub Profile
charliesolomon /
Last active Jan 1, 2020
Compute a version number for your life. Example, 25 years, 9 weeks = v35.9
from datetime import date
from datetime import datetime
import argparse
import calendar
# Hard coded birthdate!!
birthDate = date(1994, 1, 17)
# Look for --date (-d) argument (date to compute age, default is current date)
ap = argparse.ArgumentParser()
You can’t perform that action at this time.