Problem with readlines() and uml

wscrsurfdude mark at holmes.nl
Wed Jul 26 06:32:30 EDT 2006


Ik have an uml file I want to read with readlines. I have the following
code:
infile = open("out2.txt","r")
for line in infile.readlines():
    print line

The print statement just gives the data, not the uml headings. Is there
a solution which also gives the uml headings.




More information about the Python-list mailing list