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.
--
wscrsurfdude wrote:
Ik have an uml file
What is 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,
You get what can be read from the file when opened
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
On 26 Jul 2006 04:55:37 -0700, wscrsurfdude [EMAIL PROTECTED] wrote:
Sorry it is so hot in here, I make mistakes, I meant it to be an xml
file. But still sthe same problem
Check out elementtree - http://effbot.org/zone/element-index.htm.
--
Cheers,
Simon B,
[EMAIL PROTECTED],
wscrsurfdude wrote:
Sorry it is so hot in here, I make mistakes, I meant it to be an xml
file. But still sthe same problem
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