Python小工具
闷声不响
菜鸟长成记
展开
-
pyinstaller使用教程
简介:PyInstaller可以用来打包python应用程序,打包完的程序就可以在?有安装Python解释器的机器上运行了。PyInstaller支持Python 2.7和Python 3.3+。可以在Windows、Mac OS X和Linux上使用,但是并不是跨平台的,而是说你要是希望打包成.exe文件,需要在Windows系统上运行PyInstaller进行打包工作;打包成mac app,...原创 2019-02-21 11:52:05 · 2021 阅读 · 0 评论 -
Tkinter使用教程(一)
一、简介Python的Tkinter界面库都是非常简单的。Python的GUI库非常多,之所以选择Tkinter,一是最为简单,二是自带库,不需下载安装,随时使用,三则是从需求出发的,Python作为一种脚本语言,一种胶水语言,我不觉得哪个公司会用它开发复杂的桌面应用,无论怎么看也不具备优势吧,我使用Python,是把它作为一个灵活小巧的工具,并不是作为主要开发语言,那么在工作中,需要制作一个小...原创 2019-05-14 16:14:06 · 11988 阅读 · 3 评论 -
Tkinter使用教程之Android测试工具
实战解析:from tkinter import *from tkinter import ttkdef create_window(): # 创建窗口 root = Tk() root.title('AndroidTool') root.geometry('360x282') root.resizable(0,0) # 标题行功能 ...原创 2019-05-14 17:00:14 · 822 阅读 · 0 评论 -
Windows下搜索文件位置
import os,pprint,timedef search_file(file_name,directory): found =[] # 存储查找的文件名 file_name = file_name.lower() # 文件名变为小写 for roots, dirs, files in os.wa...原创 2019-08-04 23:01:17 · 553 阅读 · 0 评论 -
删除个人空间动态(哔哩哔哩)
import requestsimport logginglogging.captureWarnings(True)# 抓包获取到access_key,host_uidaccess_key = '************'host_uid = '******'def get_space_history(): # 获取个人空间所有动态ID result = [] ...原创 2019-08-04 23:08:58 · 1738 阅读 · 0 评论