C
Chris
I'm trying to come up with a not-so-ugly manner of passing many
command-line options between modules.
I have a Steering.py file, which contains my main() and handles the
getopts getting of several command-line options. Since having 5-6
additional parameters for every class instantiation or function call
is obviously an ugly way to handle this, what would you folks
recommend as a superior option? Maybe passing a dict of options to
each object/function?
Help on this topic is greatly appreciated.
Go Sox,
-cjl
command-line options between modules.
I have a Steering.py file, which contains my main() and handles the
getopts getting of several command-line options. Since having 5-6
additional parameters for every class instantiation or function call
is obviously an ugly way to handle this, what would you folks
recommend as a superior option? Maybe passing a dict of options to
each object/function?
Help on this topic is greatly appreciated.
Go Sox,
-cjl