"Sean Carolan" <[email protected]> wrote
a python dictionary. I am able to do this by dumping my data into a
temporary file and then importing it with yaml.load. I would like
to
see if I can eliminate the temporary file and import the data
directly.
You could use a stringIO buffer. It acts like an in-memory file.
Of course your data needs to fit in memory to use that!
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor