Created
July 4, 2011 00:52
-
-
Save KyeRussell/1062773 to your computer and use it in GitHub Desktop.
Python Dummy Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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