会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
那人,那事,那代码
走走停停,终该是留点什么
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
16
17
18
19
20
21
22
23
24
···
46
下一页
2021年1月18日
bitcoin 验证签名失败
摘要: https://bitcoin.stackexchange.com/questions/88768/error-code-3-when-signing-message-from-gui 失败消息: Address does not refer to key 解决办法: getnewaddress "
阅读全文
posted @ 2021-01-18 11:20 那时一个人
阅读(154)
评论(0)
推荐(0)
2021年1月16日
linux 使用socket代理
摘要: http://www.361way.com/linux-proxy/4184.html
阅读全文
posted @ 2021-01-16 20:04 那时一个人
阅读(1219)
评论(0)
推荐(0)
2021年1月14日
python 列表字符串依次按照制定长度获取,切片
摘要: def generator_five(parm, num): """ 将列表切分成每5个来返回 :param parm: :return: """ length = len(parm) for i in range(0, length, num): yield parm[i:i + num]
阅读全文
posted @ 2021-01-14 20:01 那时一个人
阅读(877)
评论(0)
推荐(0)
2021年1月13日
python logging 重复打印问题
摘要: 我的问题: 在项目中由于在做个py文件中定义了handlers,导致在项目中定义几次就会重复几次 正确的处理办法 只在一个文件中定义内容,然后在其他的py文件中引用即可 import os import logging from logging.handlers import TimedRotati
阅读全文
posted @ 2021-01-13 18:17 那时一个人
阅读(738)
评论(0)
推荐(0)
2021年1月5日
Python reportlab table 设置cellstyle枚举,设置单元格padding
摘要: 可以设置cellsyle 的选项: def _setCellStyle(cellStyles, i, j, op, values): #new = CellStyle('<%d, %d>' % (i,j), cellStyles[i][j]) #cellStyles[i][j] = new ## m
阅读全文
posted @ 2021-01-05 16:26 那时一个人
阅读(890)
评论(0)
推荐(0)
2020年12月29日
代理工具 v2ra*的使用
摘要: 该代理工具与普通的代理工具如:squid ,有很大的区别,squid 只需要在服务器上安装服务就可以直接使用浏览器访问,但是v2fly 需要在服务器及本地电脑上安装,这一点相对普通的代理要麻烦一点。 v2fly 相对普通的代理,不容易被屏蔽,至少现在没有被屏蔽,比如某歌搜索引擎就无法使用squid代
阅读全文
posted @ 2020-12-29 23:36 那时一个人
阅读(2955)
评论(0)
推荐(0)
python 开发环境需要安装
摘要: 安装完成后可以避免很多pip安装的错误 apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev apt-get install build-essential python3-dev libssl-dev libffi-dev
阅读全文
posted @ 2020-12-29 09:37 那时一个人
阅读(230)
评论(0)
推荐(0)
2020年12月28日
postgres 新增或者更新语句
摘要: INSERT INTO _fba_inventory (asin, store_id, total_qty) VALUES (2, 2, 1) ON CONFLICT (asin,store_id) DO UPDATE SET total_qty = 4, write_date=now(); --
阅读全文
posted @ 2020-12-28 15:39 那时一个人
阅读(740)
评论(0)
推荐(0)
2020年12月25日
python psycopg2 查询结果返回字典类型
摘要: def select(self, sql, parm=None): self.cr.execute(sql, parm) list_header = [row[0] for row in self.cr.description] list_result = [[str(item) for item
阅读全文
posted @ 2020-12-25 10:37 那时一个人
阅读(1319)
评论(0)
推荐(0)
2020年12月14日
postgres 多个字段匹配查询
摘要: select * from starmerx_user_permission where (user_name,location_id,permission_type) not in (('xxx',315,'internal_in_sign'))
阅读全文
posted @ 2020-12-14 14:11 那时一个人
阅读(1494)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
46
下一页
公告