"Allen Fowler" <allen.fow...@yahoo.com> wrote
For an object that needs many settings, what about passing in an instance of ConfigParser? (Or should I extract the settings to a dict, first?)

Personally I usually extract an ini type settings to either global variables or an object or a dict at start up., I then pass that data around in my functions.

HTH,


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to