Ich habe eine txt-Datei analysieren: resultJSON.txtwie json.txt lesen und json python READ TXT PYTHON
die Daten in der txt-Datei ist im JSON-Format.
{
"term": "dog",
"results": [{
"filename": "1.jpg",
"numberID": "D12"
}, {
"filename": "23.jpg",
"number": "E52"
}]
}
Ich möchte die txt in Python lesen und die JSON zu analysieren.
Wie liest man den TXT ???
Mögliche Duplikate von [JSON in Python parsen] (http://stackoverflow.com/questions/7771011/parse-json-in-python) –
Mögliches Duplikat von [Parsen von Werten aus einer JSON-Datei?] (Http://stackoverflow.com/questions/2835559/parsing-values-from-a-json-file) – iFlo
OH BITTE LESEN SIE TXT, nicht dupliziert – HiPownedBi