ElementTree as ET tree = ET.parse('file.xml') root = tree.getroot() print ... import json infile = open('file.json') obj = json.load(infile) print obj ...
確定! 回上一頁