import json. #make a test data. testHash={"A":10,"B":20.0,"C":[30.0,40]}. #dump the variable as a file. with open("E:/test.json","w") as f:.
確定! 回上一頁