Comment Comment by monsieurbanana Libraries to treat strings as files are pretty common, in python they have one in the std:https://docs.python.org/2/library/stringio.html parent monsieurbanana 9 years ago
https://docs.python.org/2/library/stringio.html