Alright, so I was taking a look at some source when I came across this:
>>> def __parse(self, filename): ... \"parse ID3v1.0 tags from MP3 f
Functions/methods can be written outside of a class and then used for a technique in Python called monkeypatching:
class C(object): def __init__(self): self.foo = 'bar' def __output(self): print self.foo C.output = __output c = C() c.output()