StringIO from io in python3