7 lines
No EOL
184 B
Python
7 lines
No EOL
184 B
Python
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()) |