How To Convert XML to CSV In Python

preview_player
Показать описание
A simple script to convert an XML file to CSV in Python3.
Рекомендации по теме
Комментарии
Автор

Thanks for the video.. but plz make a video on complex xml too like having attributes inside xml tags and having lots of tags at the same level

vmak_geek
Автор

i m getting this error Traceback (most recent call last):
File "D:\test\SteelEye\data.py", line 32, in <module>
xml_to_csv(file_path, csv_name)
File "D:\test\SteelEye\data.py", line 16, in xml_to_csv
writer.writerow(rec)
ValueError: I/O operation on closed file.

Bablukumar-imoh
Автор

So, curious since I'm still learning Python - but what's the vim symbol to use for the arrow in the 'def xml_to_csv() > None:' statement? Vim doesn't have an obvious right arrow character.... -_-

bugeyedcreepy
Автор

How to accomplish this if you have nested tree elements?

KH-bolr
Автор

Does not work for nested XML structure ?

gilleslejeune
Автор

Hi.
How do I run this script I'm on windows using vscode.

ThirteenCastles
Автор

@blacklotus, thank you ! Could you please upload the code here ? or to a link?

giuseppemariamaresca
Автор

Darick "Nesquick" - Somebody is thinking about milkshakes.

Paul-fzpg
Автор

Where is the code, could u pl share it ?

sunnyarora
Автор

Are you Dbrunski125? Holy, the voice is the same, i swear

Suuuub_
Автор

Could you please upload the code here?

rscnhhy
Автор

This Kid actually makes videos himself by talking to himself.

donpislik
join shbcf.ru