Python import cStringIO ImportError: No module named 'cStringIO'

CStringIo is supported in python2:
from cString import StringIo—supported in python2, but not supported in python3, so you need to use other modules to replace: io module

from io import StringIo
from io import BytesIo
哈哈就是这样的简单

Here is used to manipulate memory, store things in memory, and fetch things in memory

Published 129 original articles · Like 43 · Visits 100,000+

Guess you like

Origin blog.csdn.net/nbxuwentao/article/details/105550552