I am trying to create a class with multiple functions, accepts a string as an argument and prints this string. So far this is what I have written:
class test():    
    def func(self,text):  
        print str(text)  
test.func('This is a bunch of text')  
To which I get the following error message:
_Traceback (most recent call last):  
  File "<stdin>", line 1, in <module>  
TypeError: unbound method func() must be called with test instance as first argument   (got str instance instead)_  
Any suggestions?
 
    