import/from import question
Is there a way to detect if module was imported by 'from <mod> import <sth>'
or by 'import <mod>'?
Before the Goat of Mendes... we all must take our turn | Artur M. Piwko
Into the magic circle... where still the fire burns | mailto:s/_/./
We're spinning round and round... until one takes a fall | -- Mercyful Fate
The fallen one will not return, the fallen one must burn | "Witches' Dance"
Re: import/from import question
"Artur M. Piwko" wrote:
> Is there a way to detect if module was imported by 'from <mod> import <sth>'
> or by 'import <mod>'?
Why do you want to do that? It's likely to be a bad idea...
|All times are GMT. The time now is 03:38 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.