当前位置:网站首页>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










边栏推荐
猜你喜欢
![[Structure internal power practice] Structure memory alignment (1)](/img/31/4ddc16810da8238ac95a93d007e12e.png)
[Structure internal power practice] Structure memory alignment (1)

全面讲解GET 和 POST请求的本质区别是什么?原来我一直理解错了

Detailed explanation of DNS query principle

交换机端口的三种类型详解与hybrid端口实验

MySQL 数据库 报错 The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid)

Comprehensively explain what is the essential difference between GET and POST requests?Turns out I always misunderstood

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

使用稀疏 4D 卷积对 3D LiDAR 数据中的运动对象进行后退分割(IROS 2022)

Undefined symbols for architecture arm64解决方案

XSS靶机通关以及XSS介绍
随机推荐
树状数组模版+例题
路由----router
使用 External Secrets Operator 安全管理 Kubernetes Secrets
Thinking after writing a code with a very high CPU usage
Dynamic memory development (C language)
请问大佬们 ,使用 Flink SQL CDC 是不是做不到两个数据库的实时同步啊
浅谈自动采集程序及入库
XSS靶机通关以及XSS介绍
全面讲解GET 和 POST请求的本质区别是什么?原来我一直理解错了
基于 Kubernetes 的微服务项目整体设计与实现
sphinx匹配指定字段
为什么我推荐使用智能化async?
pnpm 是凭什么对 npm 和 yarn 降维打击的
七夕给自己new一个chatRobot当对象
Spark cluster deployment (third bullet)
Luogu: P2574 XOR的艺术 [线段树]
16 kinds of fragrant rice recipes
使用HBuilder离线本地打包ipa教程
8.4模拟赛总结
程序员的七种武器