• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
增强的一亩三分地
增强的一亩三分地
博客园          联系   管理     
2019年11月3日
python打包为可执行文件
摘要: 安装 pyinstaller pip3 install pyinstaller 开始打包 # filename 是你要打包生成可执行文件的python文件 pyinstaller -F filename 还有其他参数,使用时自行查询 阅读全文
posted @ 2019-11-03 20:49 -leanard- 阅读(13) 评论(0) 推荐(0)
电脑ADB控制手机
摘要: 两种方式前提都需要开启开发者模式和usb调试模式 有线 # 查看设备是否连接,已连接的话即可操作 adb devices 无线 手机打开热点,电脑连接 # 设置在8888端口监听 adb tcpip 8888 # 电脑adb连接手机,热点本机ip固定为192.168.43.1 adb connect 阅读全文
posted @ 2019-11-03 20:47 -leanard- 阅读(6) 评论(0) 推荐(0)
python 配置文件操作
摘要: 引入库 import configparser 配置文件读取 样例配置文件 [DEFAULT] ServerAliveInterval = 45 Compression = yes CompressionLevel = 9 ForwardX11 = yes [bitbucket.org] User 阅读全文
posted @ 2019-11-03 20:42 -leanard- 阅读(6) 评论(0) 推荐(0)
python 字符串和数字转换
摘要: 数字转为str str(num) str转为数字 int(_str) float(_str) ... 阅读全文
posted @ 2019-11-03 20:37 -leanard- 阅读(5) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3