#dump方法import json data = [ { 'a':'A', 'b':(2, 4), 'c':3.0 } ] with open('output.json','w') as fp: json.dump(data,fp). Decode解碼為Python ...
確定! 回上一頁