| | |
| | | while line: |
| | | time_ = line.split(":")[-1] |
| | | if int(time_) > 150: |
| | | print(line) |
| | | # print(line) |
| | | pass |
| | | line = f.readline() |
| | | |
| | | |
| | |
| | | for key in today_data: |
| | | # news = sorted(today_data[key], key=lambda x: x["index"]) |
| | | # today_data[key] = news |
| | | print(key, len(today_data[key]) - 1, today_data[key][-1]["index"]) |
| | | # print(key, len(today_data[key]) - 1, today_data[key][-1]["index"]) |
| | | pass |
| | | except: |
| | | pass |
| | | return today_data |
| | |
| | | |
| | | if line.find("真实下单位置") > 0: |
| | | |
| | | print(line) |
| | | # print(line) |
| | | str_ = line.split(":")[1].strip() |
| | | print(str_) |
| | | # print(str_) |
| | | try: |
| | | pos = int(eval(str_.split("-")[1].strip())[0]) |
| | | except: |