Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95253
| From | Luca Menegotto <otlucaDELETE@DELETEyahoo.it> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Flan definition collision |
| Date | 2015-08-11 13:29 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mqcm9v$k84$2@speranza.aioe.org> (permalink) |
| References | <238cfbd9-6ccb-4dcf-a4ea-3de78932db02@googlegroups.com> |
Il 11/08/2015 08:28, smahabole@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Flan definition collision smahabole@google.com - 2015-08-10 23:28 -0700 Re: Flan definition collision Joel Goldstick <joel.goldstick@gmail.com> - 2015-08-11 06:31 -0400 Re: Flan definition collision Luca Menegotto <otlucaDELETE@DELETEyahoo.it> - 2015-08-11 13:29 +0200
csiph-web