[Tutor] Please help
Allen John Schmidt, Jr.
ajschmidt at fredericksburg.com
Wed Aug 3 17:01:09 CEST 2005
Hey, I had a similar problem not too long ago. My data came in the first
format, but I didn't need it formated like that.
Here is how I would have written it:
f1 = open('xx','r')
for i in meat:
That would collect the data and put it into a dictionary with the values
being a list of the two part data. You could print like this:
for each in mind.keys():
for value in mind[each]:
print each+" "+value+" "+value
That should do it!
Ask if you don't understand any part of it.
Allen J. Schmidt, Jr.
More information about the Tutor