11 2022 档案
摘要:CryptoJS库使用 GitHub地址:https://github.com/brix/crypto-js npm下载:npm install crypto-js // 字符串转字节数组 var wordArray = CryptoJS.enc.Utf8.parse("3de416078ec4a4
阅读全文
摘要:# 进入网页进行下载 https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/?td
阅读全文
摘要:from decimal import Decimal, getcontext# getcontext().prec设置有效数字的个数getcontext().prec = 2# 四舍五入,保留几位小数a = str(Decimal(0.5811966).quantize(Decimal('0.00
阅读全文
摘要:pymysql直接插入带有双引号或单引号的字符串,报错: pymysql.err.ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MyS
阅读全文