Hello, I'm trying to learn how to create a very simple class just to get the basics of OOP in python.
I figure just to learn I'll start with a class where I can create an object and use a method to update a string associated with that object and another method to get that string. So I should be able to do this:
myObject = MyClass("BlahBlah")
print myObject.getString()
# outputs "BlahBlah"
myString = "More Text"
myObject.addText(myString)
print myObject.getString()
# outputs "BlahBlahMore Text"