testNp.py 267 B

12345678910111213
  1. import numpy as np;
  2. import time
  3. print(np.datetime64('2020-03-20')-np.datetime64('2020-02-20'))
  4. #coding=gbk
  5. import json
  6. dicts={"name":"lucy","sex":"boy"}
  7. json_dicts=json.dumps(dicts,indent=4)
  8. print(json_dicts)
  9. print(int(int(round(time.time() * 1000))))