django 代码片段3

#coding=utf-8
# 没有++ 和--其他的都一样

foo=1
show_output=True
if show_output and foo==1:
	print 'pyhont and %s are number %d' % ('django',foo)

# python 只有一些@符号和下划线符号,只有干净和容易阅读的代码才能避免混乱。

posted @ 2016-01-02 21:51  yufenghou  阅读(135)  评论(0)    收藏  举报