Er, so im juggling parsers and such, and I'm going from one thing which processes files to another.
The output from the first part of my code is a list of strings; I'm thinking of each string as a line from a text file.
The second part of the code needs a file type as an input.
So my question is, is there a proper, pythonic, way to convert a list of strings into a file like object?
I could write my list of strings to a file, and then reopen that file and it would work fine, but is seems a little silly to have to write to disk if not necessary.
I believe all the second part needs is to call 'read()' on the file like object, so I could also define a new class, with read as a method, which returns one long string, which is the concatenation of all of the line strings.
thanks, -nick