cStringIO 和StringIO用法相同,速度更快,常常这样使用:. try: import cStringIO as StringIO except ImportError: import StringIO >>> output = StringIO.
確定! 回上一頁