Il 11/08/2015 08:28, smahab...@google.com ha scritto:
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.


If you use 'import', and not 'from xyz import', you avoid any conflict.

Ah: 'from ... import' has caused me a lot of terrible headaches. I don't use this statement if not strictly necessary.

--
Bye.
Luca

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to