Suppose I have a function and I want to print out the arguments it accepts. How can I do this?
Use inspect.getargspec() to find out.
inspect.getargspec()