-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
| import StringIO |
This line gives
ModuleNotFoundError: No module named 'StringIO' in python3
From https://docs.python.org/3.0/whatsnew/3.0.html
The StringIO and cStringIO modules are gone. Instead, import the io module and use io.StringIO or io.BytesIO for text and data respectively.
possible solution:
try:
import StringIO
except ImportError:
from io import StringIO MaryPeteva, crocagiles, arendondiosa, Suvi-dha and naveen-vsamyTimple, cherryatdusty, jimas95, MDkontroller, moazzamalirind and 5 more
Metadata
Metadata
Assignees
Labels
No labels