On Tue, Aug 11, 2015 at 2:28 AM, smahabole--- via Python-list
<python-list@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
http://joelgoldstick.com
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to