Skip to content

Instantly share code, notes, and snippets.

Avatar
😎

Charlie Solomon charliesolomon

😎
View GitHub Profile
@charliesolomon
charliesolomon / life-version.py
Last active Jan 1, 2020
Compute a version number for your life. Example, 25 years, 9 weeks = v35.9
View life-version.py
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.