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-August/046626.html below:

Proposed Python api for testing whether a module exists

[Python-Dev] Re: Proposed Python api for testing whether a module exists [Python-Dev] Re: Proposed Python api for testing whether a module existsPaul Moore pf_moore at yahoo.co.uk
Mon Aug 2 19:09:57 CEST 2004
Jim Fulton <jim at zope.com> writes:

> I propose to add the following function to the imp module:
>
>    exists(module_name)
[...]
> If there are no objections, I'll try to get this in before Wednesday night.

Does this work in the presence of PEP 302 style import hooks?
Specifically, the case where there's a zipfile on sys.path.

Paul.
-- 
A little inaccuracy sometimes saves tons of explanation -- Saki

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