Answer the question
In order to leave comments, you need to log in
How to fix json.decoder.JSONDecodeError: Expecting value: line 1 column 8 (char 7) error?
How to fix json.decoder.JSONDecodeError: Expecting value: line 1 column 8 (char 7) error?
There is a txt file that says [3, 3, 'Bot']
And the script:
with open('text.txt', 'r', encoding="utf-8") as f:
text = f.read()
items = json.loads(text)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question