Here is my code that calls the __init__
of Game_Events
class:
class Game_Events(object):
def __init__(self, DoSetup):
if DoSetup == "yes":
print "Done"
GE = Game_Events()
GE.__init__("no")
But when ever I run the code I get:
TypeError: __init__() takes exactly 2 arguments (1 given)
How can I fix this?