Forum Archive

Can’t load module “dict”

Sway

I’m unable to import the dict module even though autocomplete shows it available.
I’ve tried both:
* import key from dict
* import dict

Both give me the error:
ModuleNotFoundError: No module named 'dict'

I’m not sure what to do about that, but googling the issue gave me no help.
Any thoughts?

Olaf

dict is a built-in type, not a module that needs importing
What are you trying to accomplish, @Sway?