1. 程式人生 > >py3下怎麽用StringIO

py3下怎麽用StringIO

err import span nbsp port clas pan log except

try:
    from StringIO import StringIO
except ImportError:
    from io import StringIO

py3下怎麽用StringIO