Closed archiif closed 4 years ago
>>> json_minify('{"test": "test"}') Traceback (most recent call last): File "<pyshell#186>", line 1, in <module> json_minify('{"test": "test"}') TypeError: 'module' object is not callable
Why is my Python code not working?
Ah never mind, to import it properly I had to use:
from json_minify import json_minify
instead of
import json_minify
Why is my Python code not working?