When Slicer is installed there are both python files with their corresponding .pyc compiled versions next to them in the same directory. This is the legacy type location for compiled python. On ...
When disabling the Sandbox extension from the Extension Manager and clicking “Restart Slicer”, some of its Python modules remain importable, even though the extension should have been unloaded.