Parse XML Files with Python - Basics in 10 Minutes

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • 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: ruclips.net/p/PL3...
    🐍 PyCharm Tutorials: ruclips.net/p/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

Комментарии • 55

  • @user-ur7tm3cw8w
    @user-ur7tm3cw8w 2 дня назад +1

    This is a great tutorial about xml file handling by python code. Very clearly explained structure of xml file. Easy to understand and follow through!

  • @user-hx9nq7tm3k
    @user-hx9nq7tm3k 10 месяцев назад +13

    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  10 месяцев назад

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

    • @elvisabenson
      @elvisabenson 2 месяца назад

      @@MaxOnTech Thank you

  • @moazzamhossain1284
    @moazzamhossain1284 День назад

    This is really an excellent tutorial. Very well explained. Thank you so much!

  • @user-hx9nq7tm3k
    @user-hx9nq7tm3k 10 месяцев назад +5

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

  • @johnteles1131
    @johnteles1131 5 месяцев назад

    Great tutorial! Very clarifying. Thanks!

  • @zeljkotabakovic5311
    @zeljkotabakovic5311 5 месяцев назад

    Quite simple to understand and useful. Thanks

  • @oren2010T
    @oren2010T 8 месяцев назад +2

    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  8 месяцев назад

      Glad it helped!

  • @higiniofuentes2551
    @higiniofuentes2551 13 дней назад

    Thank you for this very useful video!

  • @willofirony
    @willofirony Год назад +4

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

  • @bilkisabe1660
    @bilkisabe1660 Год назад +2

    Thanks, best easy to understand tutorial ever!

  • @aradthetyper2101
    @aradthetyper2101 10 месяцев назад

    Thank you this helped a lot

  • @jakiasultanajui4588
    @jakiasultanajui4588 7 месяцев назад

    Short, Simple and The best

    • @MaxOnTech
      @MaxOnTech  7 месяцев назад

      thanks! glad it helps ppeople out ther!

  • @ooneuro
    @ooneuro 4 месяца назад

    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  4 месяца назад

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

  • @theghost12
    @theghost12 Год назад

    Many thanks, very easy to follow and helped me.

  • @douglas_SenhorBOT
    @douglas_SenhorBOT 11 месяцев назад

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

    • @MaxOnTech
      @MaxOnTech  11 месяцев назад +1

      Glad it was helpful!

  • @kavidusulakshana9967
    @kavidusulakshana9967 Год назад

    Awesome .Thank You so much

  • @laiahunshishakharkongor3483
    @laiahunshishakharkongor3483 5 месяцев назад

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

    • @MaxOnTech
      @MaxOnTech  5 месяцев назад

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

  • @user-de6pe2eo6m
    @user-de6pe2eo6m 7 месяцев назад

    you earned a subscriber!

    • @MaxOnTech
      @MaxOnTech  7 месяцев назад

      awesome, hope the content helps!

  • @maupusillo
    @maupusillo Месяц назад

    I understood a lot in these 10 minutes, thanks you so much

  • @caegi137
    @caegi137 3 месяца назад

    Thanks bro u awesome

    • @MaxOnTech
      @MaxOnTech  3 месяца назад

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

  • @os5803
    @os5803 4 месяца назад

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

  • @abdolkarimmehrparvar6583
    @abdolkarimmehrparvar6583 5 месяцев назад

    Amazing

  • @nathanjaroszynski6210
    @nathanjaroszynski6210 8 месяцев назад

    thanks buddy

    • @MaxOnTech
      @MaxOnTech  8 месяцев назад

      You're welcome!

  • @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

  • @shurazeta
    @shurazeta 4 месяца назад

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

  • @zaynabbenchekroun8220
    @zaynabbenchekroun8220 Год назад

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

  • @higiniofuentes2551
    @higiniofuentes2551 13 дней назад

    How to install the Elements import?
    Thank you!

  • @RonaldPostelmans
    @RonaldPostelmans Год назад +2

    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  Год назад +1

      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
    @amrahismayilzada8596 4 месяца назад

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

  • @BetoWagner
    @BetoWagner Год назад

    Thank you.

  • @benvan3721
    @benvan3721 Месяц назад

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

    • @MaxOnTech
      @MaxOnTech  Месяц назад

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

  • @aradthetyper2101
    @aradthetyper2101 10 месяцев назад

    Thank you this helped a lot

    • @MaxOnTech
      @MaxOnTech  10 месяцев назад

      Glad it helped :)