This is a sample code that i found from one of the python class tutorial.
class MyClass: i = 12345 def f(self): return \'hello world\' print MyC
Always a function is called by its name, which is represented by (). So use MyClass.f()
()
MyClass.f()