Skip to content

Commit 990a11c

Browse files
authored
Update husheng_action.py
1 parent 9231a96 commit 990a11c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

husheng_action.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@
7272
fname1 = "PPOS_POTE_"+fname
7373
fname2 = "PPOS_POTE_SZ_"+fname
7474

75-
file_path = './hushengang'
76-
if not os.path.exists(file_path):
77-
os.mkdir(file_path)
75+
#file_path = './hushengang'
76+
#if not os.path.exists(file_path):
77+
# os.mkdir(file_path)
7878

79-
if os.path.exists(fname):
80-
print('文件已存在,明天再来吧')
81-
sys.exit()
79+
#if os.path.exists(fname):
80+
# print('文件已存在,明天再来吧')
81+
# sys.exit()
8282

8383
heads = {'HdDate', 'SCode', 'SName', 'NewPrice', 'ShareSZ_Chg_One', 'ShareSZ_Chg_Rate_One', 'LTZB_One', 'ZZB_One'}
8484
rows = []
@@ -143,4 +143,4 @@ async def main():
143143
print("请关闭文件后再试", e)
144144

145145
stop = time.time()
146-
print(f"使用aiohttp共耗时{stop-start} S")
146+
print(f"使用aiohttp共耗时{stop-start} S")

0 commit comments

Comments
 (0)