当前位置:网站首页>openpyxl to manipulate Excel files
openpyxl to manipulate Excel files
2022-08-05 09:05:00 【Xiao Xiaoran】
openpyxl操作Excel文件
案例数据
| IP地址 | 风险等级 | 是否恶意IP | 可信度 | 威胁类型 | IP归属地 |
|---|---|---|---|---|---|
| 192.241.214.65 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 美国-加利福尼亚州-旧金山 |
| 37.44.238.161 | 高 | true | 高 | [‘垃圾邮件’, ‘扫描’, ‘漏洞利用’] | 法国-Ile de France region-巴黎 |
| 141.98.83.139 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘扫描’, ‘未启用IP’, ‘漏洞利用’] | 罗马尼亚-布加勒斯特-布加勒斯特 |
| 39.100.73.242 | 低 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 中国-北京市-北京市 |
| 40.118.131.195 | 低 | true | 高 | [‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 美国-加利福尼亚州-旧金山 |
| 167.99.190.147 | 低 | true | 高 | [‘IDC服务器’, ‘扫描’] | 加拿大-安大略省-多伦多 |
| 192.241.219.240 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘暴力破解’, ‘IDC服务器’, ‘扫描’] | 美国-加利福尼亚州-旧金山 |
| 104.248.136.93 | 中 | true | 高 | [‘垃圾邮件’, ‘暴力破解’, ‘IDC服务器’, ‘扫描’] | 德国-黑森州-Frankfurt am Main |
| 121.40.210.60 | 中 | true | 高 | [‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 中国-浙江省-杭州市 |
| 128.1.91.205 | 低 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 美国-加利福尼亚州-洛杉矶 |
| 39.98.118.164 | 中 | true | 高 | [‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 中国-北京市-北京市 |
| 106.75.64.59 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘IDC服务器’, ‘扫描’, ‘漏洞利用’] | 中国-北京市-北京市 |
| 218.201.233.169 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘暴力破解’, ‘扫描’, ‘撞库’, ‘动态IP’, ‘漏洞利用’] | 中国-贵州省-铜仁市 |
| 101.200.188.50 | 中 | true | 高 | [‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 中国-北京市-北京市 |
| 198.199.103.139 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘VPN’, ‘IDC服务器’, ‘扫描’, ‘代理’] | 美国-加利福尼亚州-旧金山 |
| 192.241.197.21 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 美国-加利福尼亚州-旧金山 |
| 82.156.227.106 | 低 | true | 高 | [‘IDC服务器’, ‘扫描’] | 中国-北京市-北京市 |
| 103.136.249.107 | 低 | true | 高 | [‘垃圾邮件’, ‘扫描’, ‘未启用IP’] | 新加坡-新加坡-新加坡 |
| 192.241.214.65 | 中 | true | 高 | [‘傀儡机’, ‘垃圾邮件’, ‘IDC服务器’, ‘扫描’] | 美国-加利福尼亚州-旧金山 |
Please see the data generation : https://blog.csdn.net/qq_52549196/article/details/126145651
遍历表
import openpyxl
read_xlsx = openpyxl.load_workbook('1.xlsx') # 读取文件
readSheet1 = read_xlsx["Sheet1"] # 选择 Sheet1
for row in range(1, readSheet1.max_row): # get max row
print(*[readSheet1.cell(row, i).value for i in range(1, readSheet1.max_column)]) #Get the max column and iterate over










边栏推荐
- SQL语句查询字段内重复内容,并按重复次数加序号
- MQTT X Newsletter 2022-07 | 自动更新、MQTT X CLI 支持 MQTT 5.0、新增 conn 命令…
- 【ASM】字节码操作 方法的初始化 Frame
- 原型&原型链
- Undefined symbols for architecture arm64解决方案
- 基于 Kubernetes 的微服务项目整体设计与实现
- tensorflow.keras无法引入layers
- 这样写有问题吗?怎么在sql-client 是可以做到数据的同步的
- ECCV 2022 Oral 视频实例分割新SOTA:SeqFormer&IDOL及CVPR 2022 视频实例分割竞赛冠军方案...
- XSS靶机通关以及XSS介绍
猜你喜欢

链表中的数字相加----链表专题

Creo 9.0 基准特征:基准坐标系

施一公:科学需要想象,想象来自阅读

苹果官网商店新上架Mophie系列Powerstation Pro、GaN充电头等产品

只有一台交换机,如何实现主从自动切换之nqa

代码审计—PHP

pytorch余弦退火学习率CosineAnnealingLR的使用

CVPR 2022 | 将X光图片用于垃圾分割,港中大(深圳)探索大规模智能垃圾分类

Xcode10的打包方式distribute app和启动项目报错以及Xcode 打包本地ipa包安装到手机上

How to replace colors in ps, self-study ps software photoshop2022, replace one color of a picture in ps with another color
随机推荐
[Structure internal power practice] Structure memory alignment (1)
施一公:科学需要想象,想象来自阅读
Data source object management Druid and c3p0
CCVR基于分类器校准缓解异构联邦学习
十一道家常小菜详细攻略[图文并茂]
Three solutions to solve cross-domain in egg framework
IT研发/开发流程规范效能的思考总结
让程序员崩溃的N个瞬间(非程序员误入)
接口全周期的生产力利器Apifox
链表中的数字相加----链表专题
MQTT X Newsletter 2022-07 | 自动更新、MQTT X CLI 支持 MQTT 5.0、新增 conn 命令…
thinkPHP5 realizes clicks (data increment/decrement)
Thinking and summary of the efficiency of IT R&D/development process specification
放大器OPA855的噪声计算实例
pnpm 是凭什么对 npm 和 yarn 降维打击的
百行代码发射红心,程序员何愁命不中女朋友!
【零基础玩转BLDC系列】无刷直流电机无位置传感器三段式启动法详细介绍及代码分享
mySQL数据库初始化失败,有谁可以指导一下吗
Why is pnpm hitting npm and yarn dimensionality reduction?
MySQL 数据库 报错 The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid)