Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95252
| References | <238cfbd9-6ccb-4dcf-a4ea-3de78932db02@googlegroups.com> |
|---|---|
| Date | 2015-08-11 06:31 -0400 |
| Subject | Re: Flan definition collision |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.74.1439289114.3627.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next 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