Skip to content

Instantly share code, notes, and snippets.

@resba
Created January 31, 2013 22:18
Show Gist options
  • Save resba/4687149 to your computer and use it in GitHub Desktop.
Save resba/4687149 to your computer and use it in GitHub Desktop.
HowDoIPython
class TestClass:
def __init__(one,two,three):
self.one = one
self.two = two
self.three = three
def getOne():
return self.one
def getTwo():
return self.two
def getThree():
return self.three
def setOne(s):
self.one = s
def setTwo(s):
self.two = s
def setThree(s):
self.three = s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment