forked from lab/TPM
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
373 B
16 lines
373 B
|
2 years ago
|
import os
|
||
|
|
import json
|
||
|
|
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||
|
|
dir_abspath = os.path.abspath(dir_path)
|
||
|
|
print("Abs Path : ",dir_abspath)
|
||
|
|
dir_list = os.listdir(dir_path)
|
||
|
|
|
||
|
|
print("Files and directories in '", dir_path, "' :")
|
||
|
|
|
||
|
|
# prints all files
|
||
|
|
print(dir_list)
|
||
|
|
with open('/flask/data_init/assets_us.json') as f:
|
||
|
|
data_tw = json.load(f)
|
||
|
|
print(data_tw)
|
||
|
|
|