14 lines
428 B
Python
14 lines
428 B
Python
import os
|
|
|
|
user_info = []
|
|
#路径需要自定义
|
|
filepath = os.path.expanduser('./USER_INFO.txt')
|
|
with open(filepath, 'r', encoding = 'UTF-8') as f:
|
|
user_info = f.readlines()
|
|
user_info = [info.strip() for info in user_info]
|
|
|
|
print(user_info)
|
|
|
|
for i in range(len(user_info)):
|
|
os.system("bodegha %s --start-date 01-01-2008 --verbose --key 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 --csv --only-predicted" % (user_info[i]))
|