Skip to content

Instantly share code, notes, and snippets.

@taybenlor
Created April 2, 2012 03:43
Show Gist options
  • Select an option

  • Save taybenlor/2280500 to your computer and use it in GitHub Desktop.

Select an option

Save taybenlor/2280500 to your computer and use it in GitHub Desktop.
Lynden likes python.
DEFAULT_NAME = File.open("default_name.txt").read()
class Person:
def __init__(self, name=None):
self.name = name or DEFAULT_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment