- 博客(6)
- 收藏
- 关注
原创 golang sqlite 错误记录bad parameter or other API misuse: not an error (21)
然后db.QueryRow(sql2, host)会爆出bad parameter or other API misuse: not an error (21)错误,解决方法,把 最后一个 ` 之前的回车符号删除变成。
2023-08-16 10:24:26
773
1
原创 golang 爆错:Failed to write to log, write logs.txt: file already closed
golang 爆错:Failed to write to log, write logs.txt: file already closed
2023-07-31 11:34:24
566
1
原创 python正则表达式
当我们调用re.match方法、re.search方法,或者对方法的结果进行迭代时,拿到的数据类型都是re.Match对象。这个类里定义了相关的属性,可以直接让我们来使用。属性和方法说 明pos搜索的开始位置endpos搜索的结束位置string搜索的字符串re当前使用的正则表达式的对象lastindex最后匹配的组索引lastgroup最后匹配的组名某个分组的匹配结果。如果index等于0,便是匹配整个正则表达式groups()
2023-02-08 14:20:35
622
原创 python常用库
os模块sys模块math模块random模块datetime模块time模块calendar模块hashlib模块hmac模块copy模块uuid模块
2023-02-08 00:14:41
156
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人