especially when there are so many parameters (10+ 20+).
What are good ways of enforcing required/optional parameters to a function?
What are some good books that deal with this kind of questions for python?
(like effective c++ for c++)
** EDIT **
I think it's very unpractical to list def foo(self, arg1, arg2, arg3,  .. arg20, .....): when there are so many required parameters.
importerthat imports product data from excel sheet. It goes over +10 easily. How do you suppose to break them?