Python Intermediate Tutorial #10 - XML Processing

preview_player
Показать описание
Today's episode is about processing XML files in Python!In today's episode, we are talking about the concept of recursion!

Subscribe and Like for more free content!
Рекомендации по теме
Комментарии
Автор

I cant see ur XML file in the description...

dmitriichashchin
Автор

You just saved me a day of work ! Keep up the good content ... +1 sub 👍

Aarabstrait
Автор

Very good explanation. Finally I understood how to deal with XML files.

jrgomez
Автор

I stared at my code for a solid 5 mins trying to figure out what I screwed up (19:35) I created my own XML file, and by this point knew it was working just fine. Turns out...i did not capitalize the nodes in the XML file, but I did capitalize them in the code.

It's amazing how "Name" is totally different from "name". No sarcasm, it's flexible.

Dr.Cosmar
Автор

How are you supposed to know that these 3 functions are getting called in the original class? In your code it is not obvious that they are getting called at all.

ali-omuv
Автор

BEST XML TUTORIAL FOR PYTHON THANK YOU !!!

Enteriel
Автор

Very well explained, thank you, can you please also suggest how to get the outputs as a separate dataframe/file (especially from the first method).

TejNarayanan
Автор

Thank you so much, great video. It helped me a lot.

VishalSharma-rnmt
Автор

This is a really good tutorial. Thank you so much!

samp
Автор

Nicely explained the concept of how to approach an XML file. Thanks for all those details.
I searched your videos and couldn't find anything else about how to use XML files for data analysis. I mean: get needed attributes, nodes and export them into data-frame or CSV file for a further convenient use. There are plenty of 'simple' samples of XML to CSV transformations online, but none with a real 'complex' structured XML with attributes in sub-child and such.
Would it be possible for you to create such 'in demand' tutorial?
BTW, bought your book '3 in 1' and hope to learn a lot on data science.
Cheers,

wanderborn.
Автор

How to extract values from a tag that has multiple child. For example, if the <person > had multiple tags with <name> then it only gives the first element not the second one.

nitishasthana
Автор

Hi. In the dom section of your tutorial when you used getElementByTagName you used the index [0] for each of the name, age, weight and height. May I ask you to explain that? I thought since we have a for loop which can take care of getting first index. Please explain

qaiszakry
Автор

Hi bro,
Can yu tell how can i extract xml file in python to csv for data analysis

anilsiddabathula
Автор

Thank you for this, it was actually easy to understand. But I replicated the last line where you wrote to the XML file, and it didn't work... help please.

oritsemisanomare
Автор

Can you make a vid of the top 5 best things you can make in Python?

mstFPV
Автор

need that xml document could u please provide us

PawanKumar-unsk
Автор

Hi can you connect with database to create this xml ? I need do that for my task

MyNguyenThiThanh
Автор

this example is a little too simple could you do one with a more complex site like yahoo finance? How would i go about parsing the table on it

Captinofthemudslayer
Автор

What if i wanted to count how many times each age pops up.

GFDNERFERSGAMING
Автор

Awesome video I am impress just one question how to pass all this info to a data base or a mean a SQlite database?, , , very nice code again

edgarsan