Problem with readlines() and uml

wscrsurfdude mark at holmes.nl
Wed Jul 26 07:55:37 EDT 2006


Sorry it is so hot in here, I make mistakes, I meant it to be an xml
file. But still sthe same problem

wscrsurfdude wrote:
> Ik have an xml 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 xml headings. Is there
> a solution which also gives the uml headings.




More information about the Python-list mailing list