#coding=utf-8 # 没有++ 和--其他的都一样 foo=1 show_output=True if show_output and foo==1: print 'pyhont and %s are number %d' % ('django',foo) # python 只有一些@符号和下划线符号,只有干净和容易阅读的代码才能避免混乱。