Python3中StringIO

关于调用StringIO模块,python3中需要这样:

from io import StringIO

而python2还是

from StringIO import StringIO

 

posted @ 2018-03-19 21:28  嶙羽  阅读(13469)  评论(0)    收藏  举报