如题。
print '哈' 这样可以执行。 但是 w.function(IDname, "sec_type", "2015-05-11", "2015-05-11", "Fill=Previous")
这样输出的结果是中文的unicode编码,而不是可读的中文,怎样解决? [u'\u633e\u902a\u80a2']
业精于勤,荒于嬉;行成于思,毁于随。
Just output the display if you want it to be readable
print u'\u633e\u902a\u80a2'
In addition, if you override the object's __repr__ method you can modify the output in interactive mode
__repr__
Just output the display if you want it to be readable
In addition, if you override the object's
__repr__
method you can modify the output in interactive mode