ucloud-setup/test.py

7 lines
184 B
Python
Raw Normal View History

2019-09-12 08:20:28 +00:00
import json
import os
with open(os.path.expanduser("~/Desktop/code/ucloud-vm/Pipfile.lock")) as f:
# content = f.read()
content = json.load(f)
print(content["default"].keys())