• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

thtrll

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

1 2 下一页

2021年12月24日

python protobuf的windows安装和简单使用

摘要: 说明: 基于windows安装protobuf,下载地址https://github.com/protocolbuffers/protobuf/releases 下载protoc-3.19.1-win32.zip 1.解压到指定目录,将bin目录添加到环境变量,我的电脑->属性->高级系统设置->环 阅读全文

posted @ 2021-12-24 11:32 thtrll 阅读(1193) 评论(0) 推荐(0)

2021年12月20日

20个python小项目

摘要: Python是目前最好的编程语言之一。由于其可读性和对初学者的友好性,已被广泛使用。 那么要想学会并掌握Python,可以实战的练习项目是必不可少的。 接下来,我将给大家介绍20个非常实用的Python项目,帮助大家更好的学习Python。 大家也可根据项目的需求,自己构建解决方法,提高编程水平。 阅读全文

posted @ 2021-12-20 17:22 thtrll 阅读(1456) 评论(0) 推荐(0)

2021年12月9日

python百题斩

摘要: 转载:https://mp.weixin.qq.com/s/HheP74nE9Dan75DE3MCc1g 实例001:数字组合 题目: 有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?程序分析: 遍历全部可能,把有重复的剃掉。 total=0 for i in ran 阅读全文

posted @ 2021-12-09 16:02 thtrll 阅读(298) 评论(0) 推荐(0)

算法01_较小的三数之和

摘要: 题目 给定一个长度为 n 的整数数组和一个目标值 target,寻找能够使条件nums[i] + nums[j] + nums[k] < target 成立的三元组 i, j, k个数(0 <= i < j < k < n)。 思路:排序 + 二分查找和排序 + 对撞指针等三种方法 1.暴力求解 三 阅读全文

posted @ 2021-12-09 15:32 thtrll 阅读(57) 评论(0) 推荐(0)

2021年12月6日

固定存储格式can数据分析软件 python

摘要: #!/usr/bin/python3.9 # -*- coding: utf-8 -*- import os import subprocess,time from subprocess import * import threading import PySimpleGUI as sg from 阅读全文

posted @ 2021-12-06 16:51 thtrll 阅读(223) 评论(0) 推荐(0)

2021年11月25日

python dpkt包以太网协议的解析和分析

摘要: 如上图所示dpkt所有的协议: 现在仅其中的arp, dpkt, ethernet, icmp, ip, tcp, udp等常用的网络协议解析和简单使用 1.arp的文档及使用 文档源码: # $Id: arp.py 23 2006-11-08 15:45:33Z dugsong $ # -*- c 阅读全文

posted @ 2021-11-25 15:43 thtrll 阅读(3074) 评论(0) 推荐(1)

2021年11月24日

PySimpleGUI练习,特定输入数据的输出

摘要: #!/usr/bin/python3.8 # -*- coding: utf-8 -*- import os import PySimpleGUI as sg import subprocess,time from subprocess import * import threading def G 阅读全文

posted @ 2021-11-24 13:44 thtrll 阅读(499) 评论(0) 推荐(0)

固定数据的处理,保存查看

摘要: import os import subprocess,time from subprocess import * import threading import PySimpleGUI as sg start_time = time.time() file = ['101_1.asc', '222 阅读全文

posted @ 2021-11-24 13:42 thtrll 阅读(47) 评论(0) 推荐(0)

以太网帧解析并保存成解析的数据

摘要: # -*- coding: UTF-8 -*- import dpkt import collections #有序字典需要的模块 import time import PySimpleGUI as sg import os class Pcap_analyze: def __init__(self 阅读全文

posted @ 2021-11-24 13:36 thtrll 阅读(220) 评论(0) 推荐(0)

2021年11月17日

【python】 自动化上传小程序

摘要: from selenium import webdriver import win32gui import win32con from selenium.webdriver.common.by import By from selenium.webdriver.remote.webelement i 阅读全文

posted @ 2021-11-17 17:12 thtrll 阅读(84) 评论(0) 推荐(0)

1 2 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3