Skip to Content
Lumensalis CircuitPython framework coming soon 🎉

LumensalisCP.pyCp.importlib

basic importlib for CircuitPython

Module Contents

Functions

reloadCircuitPython specific implementation of importlib.reload

API

LumensalisCP.pyCp.importlib.reload(module, verbose=False) → None

CircuitPython specific implementation of importlib.reload

This is intended to be functionally equivalent with importlib.reload for the purposes of CircuitPython. It is _far_ simpler, because the CircuitPython system for loading python modules is far less complex than CPython’s.

  • param module: The module to reload
  • param verbose: enable diagnostic print(…) calls, defaults to False
  • type verbose: bool, optional