Skip to content

Instantly share code, notes, and snippets.

@KyeRussell
Created July 4, 2011 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KyeRussell/1062773 to your computer and use it in GitHub Desktop.
Save KyeRussell/1062773 to your computer and use it in GitHub Desktop.
Python Dummy Example
class HerpDerp (object):
def __init__(self, foo, bar, baz):
self.foo = foo
self.barbaz = bar + " " + baz
self.mylist = ['hey', 'awesome' 12]
self.dict = {'green eggs': 'ham',
'sam': 'i am'}
def foo_bar_baz(self):
return self.foo + " " + self.barbaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment