Python Forum
XML file to multiple txt files in PYTHON
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML file to multiple txt files in PYTHON
#1
I have an XML document that I want to separate into separate .TXT files using Python and BeautifulSoup. The XML file has 99 sections that need to be separated into 99 .TXT files and named starting with 001.TXT up to 099.TXT
Reply
#2
  • Show (or tell us where to find) xml file, or sample of if large
  • Show what you have tried so far, and where you are having problems, use code tags
  • include any error messages (complete and unmodified) using error tags
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Extracting the Address tag from multiple HTML files using BeautifulSoup Dredd 8 4,800 Jan-25-2021, 12:16 PM
Last Post: Dredd
  I Want To Download Many Files Of Same File Extension With Either Wget Or Python, eddywinch82 15 14,346 May-20-2018, 06:05 PM
Last Post: eddywinch82
  Looping and naming multiple files revo 4 3,437 Mar-25-2018, 09:46 PM
Last Post: Larz60+
  Multiple File Downloader Josh_Python890 1 2,449 Sep-16-2017, 11:19 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020