V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  strict  ›  全部回复第 2 页 / 共 2 页
回复总数  40
1  2  
2019-05-09 19:15:15 +08:00
回复了 13192262269 创建的主题 程序员 json 数据怎么按照数据输入的顺序排序?
json.dumps(ordered_dict({"a":1,"b":2}))
2019-03-13 18:47:56 +08:00
回复了 miniyao 创建的主题 Python Gunicorn 跑多个 worker,每个 worker 算是进程?还是线程?
>-w WORKERS, --workers=WORKERS
>The number of worker processes. This number should generally be between 2-4 workers per core in the server. >Check the FAQ for ideas on tuning this parameter.


>-k WORKERCLASS, --worker-class=WORKERCLASS
>The type of worker process to run. You ’ ll definitely want to read the production page for the implications of this >parameter. You can set this to $(NAME) where $(NAME) is one of sync, eventlet, gevent, tornado, gthread, gaiohttp
>(deprecated). sync is the default. See the worker_class documentation for more information.
2019-03-13 18:36:38 +08:00
回复了 zealinux 创建的主题 Python Python 怎么实现归并集合功能?
复杂度目前想到的全是 m*n
2019-02-15 18:04:46 +08:00
回复了 strict 创建的主题 问与答 这样的邮箱如何去屏蔽?
@nfroot 终于知道为啥这么多用户都带"."了,感谢~
其实重点就是找一个可逆的加密算法就可以了。
我一般使用
from itsdangerous import URLSafeSerializer
s = URLSafeSerializer('secret-key')
sig_okay, payload = s.loads_unsafe(data)
2018-10-17 19:02:51 +08:00
回复了 CUMTProgrammer 创建的主题 程序员 一个 2-3 年渣渣程序员如何获得出国工作的机会?
@amzon6543 qq 已加。
flask 层面只是展示数据
我比较好奇楼主是用什么工具监听 tcp 连接
如果工具是实时性,数据写入到 redis 都解决了
2018-07-11 17:08:45 +08:00
回复了 strict 创建的主题 Python 关于日志收集,有比较好的工具推荐吗?
@FiveDDD 腾讯云你们正式业务有在用吗?
2018-07-11 17:07:59 +08:00
回复了 strict 创建的主题 Python 关于日志收集,有比较好的工具推荐吗?
@zhengxiaowai 这个工具目前来看还不错,ELK 相比就有点太大了。
@zy820 你的 tcp 连接是连接到业务服务器的连接,还是连接到 admin 的连接
2018-07-06 17:12:49 +08:00
回复了 bfpiaoran 创建的主题 Python 求问想处理一个 21Gjson 文件需要怎么操作啊
json.load(f)试试?
@gclove 密钥单独存放的话,那又通过哪种方式来获取密钥,这样会不会又面临新的安全问题呢?
2018-04-24 15:15:48 +08:00
回复了 strict 创建的主题 Linux cdn 使用 coludFront 加速后,墙内无法访问 https,只能访问 http。
墙内可以 ping 通,443 端口 telnet 也没有问题。有人给提供点思路吗?
@lvsemi1 忘了说了,要有已读回执功能.
或者服务端有没有封装程度更高的库推荐?感谢~
2018-03-18 23:47:56 +08:00
回复了 zixie1991 创建的主题 分享创造 悟空视频-电影推荐网站上线
@beyoung 兄弟,你的网站真的很赞,我目前在做一个类似一周一影的网站,也出了个 demo 版,方便加你 wx 好友吗?
2017-08-10 13:22:37 +08:00
回复了 jayjing 创建的主题 Python 请教关于 json 提取数据的问题
@hellove1985 这个我理解错了,我以为 json 当中的值只能是字符串,其实也可以是 ture,false,null
2017-08-10 11:55:05 +08:00
回复了 jayjing 创建的主题 Python 请教关于 json 提取数据的问题
null 跟 true 都不是 python 对象啊,怎么 loads 出来?,我很疑惑
2017-08-08 12:17:33 +08:00
回复了 syncher 创建的主题 MySQL MySQL 时间存储类型的问题
你存 int,到时 sqlalchemy 怎么 filter
6666
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2185 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 11:12 · PVG 19:12 · LAX 04:12 · JFK 07:12
Developed with CodeLauncher
♥ Do have faith in what you're doing.