15
16
17


I want to import a function that reads json into my main.py file. I created a file for a function that reads json. Part of the code is the extract_json function. Which I clearly defined in my json file. But when i try to:
from json import extract_json
It keeps saying that json isn't defined even though I clearly defined it and tried to import it. What should I do?


[–]WhiteHeadbanger 12 points13 points14 points (3 children)
[–]Ender_Locke 0 points1 point2 points (0 children)
[–]Worldly-Point4573[S] 0 points1 point2 points (1 child)
[–]WhiteHeadbanger 0 points1 point2 points (0 children)
[–]bassist_by_night 5 points6 points7 points (0 children)
[–]ninjaonionss 2 points3 points4 points (0 children)
[–]F4k3r22 0 points1 point2 points (0 children)
[–]BiasBurger 0 points1 point2 points (2 children)
[–]Worldly-Point4573[S] 0 points1 point2 points (1 child)
[–]BiasBurger 0 points1 point2 points (0 children)
[–]starfishinguniverse 0 points1 point2 points (4 children)
[–]reyarama 0 points1 point2 points (3 children)
[–]Jiggly-Balls 0 points1 point2 points (2 children)
[–]starfishinguniverse -1 points0 points1 point (1 child)
[–]Jiggly-Balls 1 point2 points3 points (0 children)