code
lwn556u5ut
这个作者很懒,什么都没留下…
展开
-
证书下载与解析验证
证书的类别:https://www.cnblogs.com/demonxian3/p/9019169.html证书的解析:https://www.cnblogs.com/qq874455953/p/10264428.html证书下载:https://www.cnblogs.com/nextkara/p/12469789.html证书详解:https://wyxwyx46941930.github.io/2019/01/22/X-509/证书信息解析:https://blog.csdn.n..原创 2021-03-05 14:29:39 · 228 阅读 · 0 评论 -
如何理解python装饰器
一. @语法糖的理解一般出现情况为:@funcAdef funB(): ...转换成更容易理解的语句为:temp = funcA(funcB)funcB = temp一句话总结:装饰器的本质也是一种运算符举例1说明:def decorator(func): print("in decorator") print("it's func:" + str(func)) print("out decorator") return 99原创 2021-02-05 15:11:51 · 109 阅读 · 0 评论 -
Python字符串的encode与decode研究心得——解决乱码问题
为什么Python使用过程中会出现各式各样的乱码问题,明明是中文字符却显示成“/xe4/xb8/xad/xe6/x96/x87”的形式?为什么会报错“UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)”?本文就来研究一下这个问题。字符转载 2017-11-14 16:54:34 · 210 阅读 · 0 评论