Splitting strings - by iterators?

Jeremy Sanders jeremy+plusnews at jeremysanders.net
Fri Feb 25 12:31:03 EST 2005


On Fri, 25 Feb 2005 10:57:59 -0600, Larry Bates wrote:

> How did you get the string in memory in the first place?

They're actually from a generated python script, acting as a saved file
format, something like:

interpret("""
lots of lines
""")
another_command()

Obviously this isn't the most efficient format, but it's nice to
encapsulate the data and the script into one file.

Jeremy




More information about the Python-list mailing list