jimburton wrote: > Kirt wrote: > > Hi! I need some help in file I/O > > > > I have an xml file.. > [snip] > See http://diveintopython.org/xml_processing/
i dont wanna parse the xml file.. Just open the file as: f=open('test.xml','a') and write a line "<Body2>abc</Body2>" before tag </Top? -- http://mail.python.org/mailman/listinfo/python-list