Skip to content
probmlPublic

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

deimport

A simple package to "deimport" already imported python packages.

Installing using PyPi:

pip install deimport

Usage

from deimport.deimport import deimport
deimport(foo,verbose=True)

Limitations:

deimport removes the module and its submodules from the globals and sys.modules. sometimes that trips the python module loading cache. if that happens all you have to do is something like :

try:
  import foo
except:
  import foo

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages