Skip to content

Instantly share code, notes, and snippets.

View shanahanjrs's full-sized avatar

John Shanahan shanahanjrs

  • Raleigh, NC
View GitHub Profile
class Ccy(object):
# Not needed, if you need the name use `Ccy().__class__.__name__`
#__class__ = "class Ccy"
# dictionary with key, value pairings of a currency and it's respective euro value
# This is a class variable, usable by all instances of this class
# If any instance mutates this (changes it) then all other instances will also be effected...
__toEuro = {"EUR": 1, "GBP": 1.14, "USD": 0.81}
@shanahanjrs
shanahanjrs / README.md
Last active August 29, 2015 14:15 — forked from nikcub/README.md