![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
「已注销」
这个作者很懒,什么都没留下…
展开
-
python如何调用/使用百度翻译
python简易调用/使用百度翻译原创 2022-05-21 13:30:00 · 732 阅读 · 0 评论 -
树莓派解决python3无法使用openssl
文章目录一、树莓派环境二、Python环境 PS: 个人使用环境使用树莓派4, RaspberrypiOs, Python39+ 一、树莓派环境 二、Python环境原创 2021-08-02 17:26:42 · 1156 阅读 · 1 评论 -
Python类中的classmethod思想
Talk Is Cheap, Show Me The Code. 定义两个类,分别存在函数返回int值 class Item: @classmethod def get_length(self): return 18 class Date: def get_date(self): return 5 输出Item中的get_length print(Item.get_length()) >>> 18 输出Date中的get_dat原创 2021-07-05 10:39:11 · 96 阅读 · 2 评论 -
Python类,列表的嵌套与修改
Talk Is Cheap, Show Me The Code. 定义两个类 class Item: def __init__(self, ID, name): self.id = ID self.name = name self.price = 0 class User: def __init__(self, ID, name): self.id = ID self.name = name s原创 2021-07-05 10:27:01 · 351 阅读 · 0 评论