A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-July/046461.html below:

[Python-Dev] Fix import errors to have data

[Python-Dev] Fix import errors to have data [Python-Dev] Fix import errors to have dataBarry Warsaw barry at python.org
Wed Jul 28 00:00:26 CEST 2004
On Tue, 2004-07-27 at 17:55, Jim Fulton wrote:

> Sure.  But it would be better to have an API
> that you could just call to find out if a module is present.
> This could be implemented on top of find_module.

If a convenience function is desired, I'd recommend adding it to the imp
module.  Call it something like imp.package_or_module_exists() <wink>.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20040727/0fac6b0c/attachment-0001.pgp
More information about the Python-Dev mailing list

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