1 Replies - 592 Views - Last Post: 24 February 2012 - 07:43 AM Rate Topic: -----

#1 jone kim  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 46
  • Joined: 07-January 10

write output of source program to XML file

Posted 24 February 2012 - 03:32 AM

How can I write the output of any python code to xml file?

Suppose I made a simple python source program which calculates the addition of two variables according to the user inputs.How to get the output of this code in XML file?
Is This A Good Question/Topic? 0
  • +

Replies To: write output of source program to XML file

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6058
  • View blog
  • Posts: 23,495
  • Joined: 23-August 08

Re: write output of source program to XML file

Posted 24 February 2012 - 07:43 AM

Open file in write mode.
Write XML data to file with the schema you decide upon.

If you don't know XML, then you will need to learn it.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1