What is the purpose of static methods? How do I know when to use one?

I ran into unbound method error in python with this code: import random class Sample(object): def drawSample(samplesize, List): sample = random.sample(List, samplesize) return ...