bookding0's recent timeline updates
bookding0

bookding0

V2EX member #286036, joined on 2018-01-24 11:42:13 +08:00
bookding0's recent replies
+1
代码都没来得及保存马丹
现在改用 ieasemusic 了
Apr 21, 2018
Replied to a topic by Shynoob 程序员 马上跳出舒适区了。心里慌慌的
北京小公司不太看学历的,只要能干活就行
Apr 12, 2018
Replied to a topic by a33486 Python 小白求教大神引入模块哪种性能更高
1. important -> import
2. from random import randint 等价于 randint = __import__('random').randint
3.你可以理解为性能没区别
4.Python 比较 CPU 性能没什么太大意义,高并发下 io 性能才是需要考虑的。
Apr 12, 2018
Replied to a topic by Danic Python [Python2.7] tornado 多个子进程间的通信
你说的用 tornado 创建多个进程指的是 fork 出多个 tornado application 的子进程,还是说直接跑多个进程?
Apr 12, 2018
Replied to a topic by peinstrike Python flask 如何用多个文件保存 models
db.py 最前面写一句

from houko.models import *


只有一个 model 建表成功应该是因为你在 views 里只调用了一个 model。

btw,这目录结构分的有点诡异=。=
> 除了正常的用户功能外

看到这句我仿佛看见了之前某个产品经理的需求文档……
Apr 12, 2018
Replied to a topic by alvy Python 关于 Python 的导入
用 from xx import xx。
循环导入是另一个问题。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1051 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 22:38 · PVG 06:38 · LAX 15:38 · JFK 18:38
♥ Do have faith in what you're doing.