python打印所有汉字

n=0
for ch in xrange(0x4e00, 0x9fa6):
    print unichr(ch),
    n = n+1
    if(n%50==0):
        print '
'

print n 
原文地址:https://www.cnblogs.com/mmix2009/p/3229787.html