On Sat, Jun 12, 2010 at 3:00 AM, Nathan Rice <nathan.alexander.r...@gmail.com> wrote: > I've tried using args/kwargs, however I found it difficult to avoid > having arguments in my signature re-ordered, and it is also a source > of bugs. > > Has anyone come up with a good solution for dealing with arguments in > situations like this where you'd like to encapsulate lower level stuff > for neophyte users but make it easily available to advanced users?
Use a container instead and pass this around. eg: an Environment class. cheers James -- http://mail.python.org/mailman/listinfo/python-list