会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
那人,那事,那代码
走走停停,终该是留点什么
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
20
21
22
23
24
25
26
27
28
···
46
下一页
2020年9月19日
odoo7 rpc 使用,openerp7
摘要: import xmlrpclib # ... define HOST, PORT, DB, USER, PASS url = 'http://%s:%d/xmlrpc/common' % (HOST,PORT) sock = xmlrpclib.ServerProxy(url) uid = sock
阅读全文
posted @ 2020-09-19 09:36 那时一个人
阅读(238)
评论(0)
推荐(0)
2020年9月15日
pycharm postgres 代码片段,live template
摘要: -- 注释: /* author:XXXX date:$date$ desc:$desc$ */ -- date 可以设置默认值:date("yyyy-MM-dd HH:mm:ss") --创建临时表: drop table if exists tb_$name$_detail2; create t
阅读全文
posted @ 2020-09-15 17:25 那时一个人
阅读(204)
评论(0)
推荐(0)
2020年9月13日
视频爬虫
摘要: 
阅读全文
posted @ 2020-09-13 23:31 那时一个人
阅读(122)
评论(0)
推荐(0)
2020年9月12日
搭建的vscode 服务使用nginx代理后不能访问
摘要: 我的服务搭建完成后就只能进入密码验证界面,密码验证完成后就没有然后了 出现这个问题我首先想到的是nginx 的配置问题,验证了一下,如果不适用nginx代理访问就没有问题,说明我的猜想是正确的. 在网上搜索,查看到别人的配置和我的不一样: 参考配置: https://blog.csdn.net/su
阅读全文
posted @ 2020-09-12 14:12 那时一个人
阅读(1784)
评论(0)
推荐(0)
2020年9月9日
python 获取字典的键
摘要: 目前个人觉得比较好的方式还是使用for 循环来获取 location_type_dict = { '193': { 'dg': '东莞分仓' }, '182': { 'yw': '义乌分仓' },} # 可以获取每个键的序号,及键值 for key,value in enumerate(cls.lo
阅读全文
posted @ 2020-09-09 17:10 那时一个人
阅读(1102)
评论(0)
推荐(0)
python 深浅拷贝今天用上了
摘要: class A(object): def __init__(self): self.permission_type_dict = {'a': 1, 'b': 2} @property def get_dict(self): return dict(a=1, b=2) def func(self):
阅读全文
posted @ 2020-09-09 10:49 那时一个人
阅读(114)
评论(0)
推荐(0)
2020年9月8日
postgres groupby 合并字符串
摘要: SELECT company_id, string_agg(employee, ', ') FROM mytable GROUP BY company_id;
阅读全文
posted @ 2020-09-08 17:25 那时一个人
阅读(1450)
评论(0)
推荐(0)
2020年9月6日
爬虫 视频爬取工具you-get
摘要: 官方的github: https://github.com/soimort/you-get 比较知名的视频网址基本上都是可以正常爬取的 但是还是有必要弄懂其原理,毕竟某些小众的视频网站还是得靠自己来实现.
阅读全文
posted @ 2020-09-06 22:12 那时一个人
阅读(1581)
评论(0)
推荐(0)
2020年9月3日
django 重写update,create,delete方法
摘要: 话不多说,直接上代码吧: from django.db import models from datetime import datetime from django.db import models # from DjangoUeditor.models import UEditorField f
阅读全文
posted @ 2020-09-03 15:35 那时一个人
阅读(2261)
评论(0)
推荐(0)
2020年9月1日
git 常用命令
摘要: git创建分支: git checkout -b branchname git 切换分支: git checkout branchname git 删除分支: git branch -d branchname
阅读全文
posted @ 2020-09-01 18:56 那时一个人
阅读(97)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
···
46
下一页
公告