Personal calling card

I have decided it is time to make a new personal calling card for myself. Please let me know what you think! I am reasonably sure that I’m not the only person, but one of a small number of people, who actually unit-tested their card: yep, the code is valid Python and will actually print the right details (if you “pip install attrs”, of course).

Back:

back

Front:

front

Advertisements

6 Responses to Personal calling card

  1. Adi Stav says:

    Nice. But why not namedtuple?

  2. glyph says:

    Might want to future-proof it by doing print(person) 😉

  3. Hobson Lane says:

    @glyph: …and use `from __future__ import print_function` to future proof future edits 😉 Because py3.5 rules!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: