Flan definition collision

Joel Goldstick joel.goldstick at gmail.com
Tue Aug 11 12:31:51 CEST 2015

On Tue, Aug 11, 2015 at 2:28 AM, smahabole--- via Python-list
<python-list at python.org> wrote:
> I am importing two modules, each of which is defining flags (command line arguments) with the same name. This makes it impossible to import both the modules at once, because of flag name definition conflict. Is there any way which doesn't involve modifying the flag names in these modules?

Please show relevant code.

  import a
  import b

will not cause a collision as a variable called v would be identified as

  a.v or b.v depending on where it is defined

Joel Goldstick

More information about the Python-list mailing list