io.StringIO.read

StringIO.read()

Read at most n characters, returned as a string.

If the argument is negative or omitted, read until EOF is reached. Return an empty string at EOF.