Edward Loper wrote: >> I propose to add the following function to the imp module: >> >> exists(module_name) >> >> Test whether the named module can be found. [...] >> If a dotted module name is given, then parent modules will be >> imported if they haven't already been imported. > > > If a parent module doesn't exist, will it return False or raise an > ImportError? Return false. Jim -- Jim Fulton mailto:jim at zope.com Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4