![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
zinuxer
瞎学,瞎写,瞎看。
如果碰巧内容对你有帮助,帮忙点个赞,谢谢。
展开
-
Python calendar模块 输出 年日历
python calendar 日历原创 2022-07-26 08:37:39 · 1180 阅读 · 1 评论 -
python3元组转字典
# Python3 code to demonstrate working of # Convert Tuples to Dictionary # Using Dictionary Comprehension # initializing tuples test_tup1 = ('GFG', 'is', 'best') test_tup2 = (1, 2, 3) # printing original tuples print("The original key tuple is : " + str..原创 2020-05-29 09:15:04 · 1275 阅读 · 0 评论 -
Python 全局变量访问问题
问题: 线程中竟然无法访问全局变量,或者说线程中访问的不是之前定义的全局变量. 直接上代码 import socket import binascii import sys import threading import time from flask import Flask app = Flask(__name__) str_cmd = "\x01\x03\x01\x10\x0...原创 2019-08-09 15:51:56 · 660 阅读 · 0 评论