import json. 2. . 3. with open('data.txt') as json_file: 4. data = json.load(json_file). Source: stackabuse.com. json file to dict python.
確定! 回上一頁