V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  siteshen  ›  全部回复第 22 页 / 共 22 页
回复总数  426
1 ... 13  14  15  16  17  18  19  20  21  22  
2013-11-21 00:52:21 +08:00
回复了 ufo22940268 创建的主题 程序员 emacs中怎么让他不高亮空格
好吧,我是来删除行末多余的空格的:

(add-hook 'before-save-hook 'delete-trailing-whitespace)
2013-09-05 18:24:00 +08:00
回复了 KMHook 创建的主题 Python 感觉很奇怪的一道python笔试题。
@leiz 貌似 pep8 推荐后面加'_',前面 加'_'表示 private。
2013-09-05 18:20:28 +08:00
回复了 zeyexe 创建的主题 Tornado get_argument 方法能不能忽略参数的大小写?
可以参考 tornado.web.Requesthandler.get_arguments 函数的实现,可以考虑在 initialize() 里面 把 self.request.arguments 的 key 统一变为大写(或小写)。
和 django 没啥关系。

from X import * imports the module X, and creates references in the current namespace to all public objects defined by that module (that is, everything that doesn’t have a name starting with “_”).
2013-04-05 11:51:07 +08:00
回复了 workaholic 创建的主题 Python python 的 for 好牛x
python的for确实很给力,超喜欢这玩意儿〜
2013-04-05 11:46:26 +08:00
回复了 lookhi 创建的主题 iDev API的设计困难 求协助 求指导
为什么不用http自带的staus表示成功与否?
参数错误:400,access_token不正确或过期:401?
1 ... 13  14  15  16  17  18  19  20  21  22  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2971 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 04:46 · PVG 12:46 · LAX 21:46 · JFK 00:46
Developed with CodeLauncher
♥ Do have faith in what you're doing.