21 lines
450 B
Python
21 lines
450 B
Python
import pandas as pd
|
|
|
|
from models.blum_tx import BlumTx
|
|
from models.tg_paws import TgPaws
|
|
from models.warpcast import Warpcast
|
|
|
|
# 读取 Excel 文件
|
|
file_path = '端口1(2).xls'
|
|
df = pd.read_excel(file_path, "彭雨虹")
|
|
|
|
if __name__ == '__main__':
|
|
|
|
# 逐行读取数据
|
|
ls = []
|
|
for index, row in df.iterrows():
|
|
id = row['编号']
|
|
ip = row['IP']
|
|
port = row['端口']
|
|
|
|
print(f"{ip}|{port}||||{index + 1}|")
|