Answers for "how to import StringIO"

0

python import stringIO

try:
    from StringIO import StringIO ## for Python 2
except ImportError:
    from io import StringIO ## for Python 3
Posted by: Guest on August-23-2020

Python Answers by Framework

Browse Popular Code Answers by Language