Skip to content

Instantly share code, notes, and snippets.

@yantor3d
yantor3d / unload_pkg
Created September 11, 2023 20:37
A Python script to unload all modules within a package
"""Python utilies."""
import os
import sys
def unload(pkg):
"""Unload all imports from the given package.
Args: