Re: i/o prob revisited

2007-05-21 Thread Tim Roberts
[EMAIL PROTECTED] wrote: > >ok i am able to trace the error ...It says: >Traceback (most recent call last): > File "C:\Projects\ODX Import\code_ini\odxparse_mod.py", line 294, in > >input_xml_sec = open(output_file,'r') >TypeError: coercing to Unicode: need string or buffer, file found >

Re: i/o prob revisited

2007-05-18 Thread half . italian
On May 18, 12:06 am, [EMAIL PROTECTED] wrote: > Hi, > I am parsing an xml file ,before that i have replaced a string in > the original xml file with another and made a new xml file which will > now be parsed.I am also opening some more files for output.The > following code shows some i/o comman

Re: i/o prob revisited

2007-05-18 Thread saif . shakeel
On May 18, 1:50 pm, [EMAIL PROTECTED] wrote: > On May 18, 12:06 am, [EMAIL PROTECTED] wrote: > > > > > > > Hi, > > I am parsing an xml file ,before that i have replaced a string in > > the original xml file with another and made a new xml file which will > > now be parsed.I am also opening some

i/o prob revisited

2007-05-18 Thread saif . shakeel
Hi, I am parsing an xml file ,before that i have replaced a string in the original xml file with another and made a new xml file which will now be parsed.I am also opening some more files for output.The following code shows some i/o commands. file_input = raw_input("Enter The ODX File Path:") i