How do I print out which arguments a Python function requires/allows?
argument-passing, arguments, function, python
Solution
Use `inspect.getargspec()` to find out.
Problem
Suppose I have a function and I want to print out the arguments it accepts. How can I do this?