Parse XML Files with Python - Basics in 10 Minutes

How to extract information from XML files with Python & ElementTree Module.
◾◾◾◾◾ Timestamps ◾◾◾◾◾
00:00 | Introduction
00:15 | XML File Structure
01:20 | Parse XML File & Get Root
03:04 | Access Root Child
03:50 | Loop over Root Children
05:15 | Accessing Elements
06:15 | Get an Attribute
06:40 | Loop over a Tag
07:36 | Find all Function
08:51 | Manipulate XML File
◾◾◾◾◾ Related Content ◾◾◾◾◾
🚗 Self-Driving Car in Python: • A.I. Learns to DRIVE #...
🕹️ Pygame Tutorials: kzread.info/head/PL3...
🐍 PyCharm Tutorials: kzread.info/head/PL3...
◾◾◾◾◾ 🌎 Let's Connect! ◾◾◾◾◾
🐦 Twitter (X): 🔗 / @max_on_tech
📂 GitHub: 🔗 github.com/maxontech
🔊 Discord: 🔗 / discord
🏹 ProductHunt: 🔗 www.producthunt.com/@m4x
✅ Blog: 🔗 maxontech.io/courses
◾◾◾◾◾ Hashtags ◾◾◾◾◾
#datascience #numpy #numpytutorial

Пікірлер: 49

  • @user-hx9nq7tm3k
    @user-hx9nq7tm3k8 ай бұрын

    This is by far the best tutorial on xml in python, i have been to many big channels but still couldn't understand. Yet here you make it so simple, i salute you

  • @MaxOnTech

    @MaxOnTech

    8 ай бұрын

    hey, that's awesome! glad that these videos help people out there!

  • @elvisabenson

    @elvisabenson

    Ай бұрын

    @@MaxOnTech Thank you

  • @johnteles1131
    @johnteles11313 ай бұрын

    Great tutorial! Very clarifying. Thanks!

  • @user-hx9nq7tm3k
    @user-hx9nq7tm3k8 ай бұрын

    This is so far the best tutorial on xml in python for beginners. You explained everything very well.

  • @MaxOnTech

    @MaxOnTech

    8 ай бұрын

    haha thanks!

  • @oren2010T
    @oren2010T7 ай бұрын

    thank you for the video, in 10 minutes !! it really helped me understand xml structure and how to read it with Python ! thank you !

  • @MaxOnTech

    @MaxOnTech

    7 ай бұрын

    Glad it helped!

  • @zeljkotabakovic5311
    @zeljkotabakovic53113 ай бұрын

    Quite simple to understand and useful. Thanks

  • @willofirony
    @willofirony Жыл бұрын

    Awesome! As a C++ programmer, this seemed so easy. Thank you.

  • @MaxOnTech

    @MaxOnTech

    Жыл бұрын

    Glad it helped :D

  • @aradthetyper2101
    @aradthetyper21019 ай бұрын

    Thank you this helped a lot

  • @bilkisabe1660
    @bilkisabe166011 ай бұрын

    Thanks, best easy to understand tutorial ever!

  • @MaxOnTech

    @MaxOnTech

    11 ай бұрын

    Glad it helped!

  • @jakiasultanajui4588
    @jakiasultanajui45885 ай бұрын

    Short, Simple and The best

  • @MaxOnTech

    @MaxOnTech

    5 ай бұрын

    thanks! glad it helps ppeople out ther!

  • @theghost12
    @theghost1211 ай бұрын

    Many thanks, very easy to follow and helped me.

  • @MaxOnTech

    @MaxOnTech

    11 ай бұрын

    Glad it helped :)

  • @kavidusulakshana9967
    @kavidusulakshana996711 ай бұрын

    Awesome .Thank You so much

  • @MaxOnTech

    @MaxOnTech

    10 ай бұрын

    welcome :)

  • @ooneuro
    @ooneuro3 ай бұрын

    it was EXTREMELY helpful. I spent an hour on this 10 min vid while investigating an open exoplanet catalog that I need to parse for a project. It's more complicated but hopefully I'll do it )) Thank you! I'd likee to progress to some iteration examples.

  • @MaxOnTech

    @MaxOnTech

    3 ай бұрын

    Hey, always nice to read such comments! Glad it helped! :D

  • @douglas_SenhorBOT
    @douglas_SenhorBOT9 ай бұрын

    very nice my friend, I needed this explication , very great . Thanks

  • @MaxOnTech

    @MaxOnTech

    9 ай бұрын

    Glad it was helpful!

  • @laiahunshishakharkongor3483
    @laiahunshishakharkongor34834 ай бұрын

    Thank you for the video. I was so confused before this

  • @MaxOnTech

    @MaxOnTech

    4 ай бұрын

    Awesome that these old videos still help. I need to make more I think.

  • @user-de6pe2eo6m
    @user-de6pe2eo6m5 ай бұрын

    you earned a subscriber!

  • @MaxOnTech

    @MaxOnTech

    5 ай бұрын

    awesome, hope the content helps!

  • @os5803
    @os58033 ай бұрын

    very cool , i was hoping you would upload the python file text in description :P

  • @abdolkarimmehrparvar6583
    @abdolkarimmehrparvar65834 ай бұрын

    Amazing

  • @MaxOnTech

    @MaxOnTech

    4 ай бұрын

    Thanks buddy!

  • @caegi137
    @caegi1372 ай бұрын

    Thanks bro u awesome

  • @MaxOnTech

    @MaxOnTech

    2 ай бұрын

    I got you! Keep coding! All the best, Max

  • @amaliaameel
    @amaliaameel Жыл бұрын

    Hi! I am just recently learning data science. Thank you for your xml explanation. Can i do this in jupyter notebook?

  • @MaxOnTech

    @MaxOnTech

    Жыл бұрын

    hi Amalia, don't see why it shouldn't

  • @zaynabbenchekroun8220
    @zaynabbenchekroun8220 Жыл бұрын

    hi ! Please how to display results in html tags. Thank you :)

  • @shurazeta
    @shurazeta2 ай бұрын

    is there some xml parser challenge in leetcode , or hackerank, etc?

  • @nathanjaroszynski6210
    @nathanjaroszynski62107 ай бұрын

    thanks buddy

  • @MaxOnTech

    @MaxOnTech

    7 ай бұрын

    You're welcome!

  • @RonaldPostelmans
    @RonaldPostelmans Жыл бұрын

    i like your video allot. unfortunately i can't get a solution for my xml, that is because i have an extremely nexted .xml file which has 3 child objects and per object multiple grand childs en serveral childs beneath, and the numbher and sort childs are different per child object, so its very difficult. So maybe you can do a next video about multiple nested xml files

  • @MaxOnTech

    @MaxOnTech

    Жыл бұрын

    Hi Ronald :) thanks for the suggestion. Nested xml files to indeed sound quite nasty :S. If I find spare time in my content calendar, I might fit it in.

  • @amrahismayilzada8596
    @amrahismayilzada85963 ай бұрын

    Hello. Can you show these steps for multiple xml files in a folder?

  • @benvan3721
    @benvan37213 күн бұрын

    Thanks. I wish you add the git link for source codes respective of the tutorials

  • @MaxOnTech

    @MaxOnTech

    2 күн бұрын

    hey :) usually i do. Sorry, seem to have forgot here

  • @BetoWagner
    @BetoWagner Жыл бұрын

    Thank you.

  • @MaxOnTech

    @MaxOnTech

    Жыл бұрын

    Welcome!

  • @aradthetyper2101
    @aradthetyper21019 ай бұрын

    Thank you this helped a lot

  • @MaxOnTech

    @MaxOnTech

    8 ай бұрын

    Glad it helped :)