Python用法集合-持续更新
1. Python字符串转十六进制数
hexStr = "0x123AF"
hexNum = int(hexStr,16)
2. Python处理 <文件||文件夹>
def deal_command(env, engine, path):
global g_bContinue
bContinue = True
if False == os.path.isdir(path):
bContinue = deal_single_file(env, .
原创
2021-07-04 14:27:21 ·
75 阅读 ·
0 评论