optparse bug?
Peter Otten
__peter__ at web.de
Fri Jan 2 11:18:11 EST 2004
Andres Corrada-Emmanuel wrote:
> I'm getting a conflict between options defined between two different
> scripts and I'm wondering if it is a bug or the intended effect.
Neither. I'm pretty sure that you somehow managed to add all options to a
single OptionParser instance. Do you know about the
if __name__ == "__main__":
# code to run only in standalone mode
technique? For a more detailed analysis you have to provide the actual code
of a minimal example.
Peter
More information about the Python-list
mailing list