skip to navigation
skip to content

find_module 0.0.33

find_module(fullname, path=None) function - imp.find_module replacement

.. README generated with readmemako.py (github.com/russianidiot/readme-mako.py) and .README dotfiles (github.com/russianidiot-dotfiles/.README)
.. image:: https://img.shields.io/badge/Language-Python-blue.svg?style=plastic
:target: none
.. image:: https://img.shields.io/pypi/pyversions/find_module.svg
:target: https://pypi.org/pypi/find_module
.. image:: https://img.shields.io/pypi/v/find_module.svg
:target: https://pypi.org/pypi/find_module
|
.. image:: https://api.codacy.com/project/badge/Grade/6d77b236ba3e4c03a79cdba5b218a5ee
:target: https://www.codacy.com/app/russianidiot/find_module-py
.. image:: https://codeclimate.com/github/russianidiot/find_module.py/badges/gpa.svg
:target: https://codeclimate.com/github/russianidiot/find_module.py
.. image:: https://landscape.io/github/russianidiot/find_module.py/master/landscape.svg?style=flat
:target: https://landscape.io/github/russianidiot/find_module.py
.. image:: https://scrutinizer-ci.com/g/russianidiot/find_module.py/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/russianidiot/find_module.py/
|
.. image:: https://scrutinizer-ci.com/g/russianidiot/find_module.py/badges/build.png?b=master
:target: https://scrutinizer-ci.com/g/russianidiot/find_module.py/
.. image:: https://semaphoreci.com/api/v1/russianidiot/find_module-py/branches/master/badge.svg
:target: https://semaphoreci.com/russianidiot/find_module-py
.. image:: https://api.travis-ci.org/russianidiot/find_module.py.svg?branch=master
:target: https://travis-ci.org/russianidiot/find_module.py/
.. image:: https://app.wercker.com/status/bb1a819e4c5d476f93bb7f68b887f830/s/master
:target: https://app.wercker.com/russianidiot/find_module.py
Install
```````
.. code:: bash
`[sudo] pip install find_module`
Usage
`````
.. code:: python
>>> from find_executable import find_executable
>>> find_module(modname)
Examples
````````
.. code:: python
>>> find_module("os")
"path/to/os.py"
>>> find_module("sys") # in memory
""
>>> find_module("not-existing")
None
Feedback |github_follow| |github_issues|
.. |github_follow| image:: https://img.shields.io/github/followers/russianidiot.svg?style=social&label=Follow
:target: https://github.com/russianidiot
.. |github_issues| image:: https://img.shields.io/github/issues/russianidiot/find_module.py.svg
:target: https://github.com/russianidiot/find_module.py/issues  
File Type Py Version Uploaded on Size
find_module-0.0.33.tar.gz (md5) Source 2017-12-07 2KB