Python[4]
ubuntu18.04 安装 python3.8
ubuntu18.04 默认支持的 python3 的版本为 python3.6.9,可通过官方仓库安装的版本有 python3.7.x,python3.8.x 安装 python3.8 添加官方仓库 sudo add-apt-repository ppa:deadsnakes/ppa
sudo a
Python中定义抽象基类与抽象函数
# -*- encoding: utf-8 -*-
"""
@日期 : 2024/5/20 下午11:36
@作者 : 张秋平
@邮箱 : 1324616745@qq.com
@文件 : abstract_test.py
@描述 :
Python 中解析命令行参数
在 python 中可以通过使用 argparser 库来便捷的解析用户的命令行参数信息,常用示例代码如下: # -*- encoding: utf-8 -*-
"""
@日期 : 2024/5/20 下午11:16
@作者 : 张秋平
@邮箱 : 1324616
Paho-mqtt 使用样例
Paho-mqtt python库使用样例 # -*- encoding: utf-8 -*-
"""
@日期 : 2022/9/28 16:58
@作者 : 张秋平
@邮箱 : 1324616745@qq.com
@文件 : main.py
@