Parsing XML with Python (DevNet)

Veröffentlicht am: 16 Mai 2020
auf dem Kanal: Rowell Dionicio
8,722
113

It's time to parse XML using Python. I've learned how to use the requests module to form a GET request to a network device. Taking the response, I convert it into a string which will be fed to xml minidom to create an XML variable containing the content I want. From that content, I'll parse out specific information using XML elements and attributes. I found this useful for studying the Cisco DevNet Associate.

Read the blog post here: https://rowelldionicio.com/parsing-xm...

Links & Resources:

Sample code: https://github.com/rowelldionicio/dev...

XML Minidom - https://docs.python.org/3/library/xml...
Python Requests Library Guide - https://realpython.com/python-requests/
Requests - https://pypi.org/project/requests/
urllib - https://docs.python.org/3/library/url...

***
Hi, I'm Rowell. This is my channel about network engineering and wireless, where you can increase your knowledge.

If you wants to learn about networking from Cisco, Juniper, Mist, and many other vendors so you can configure and troubleshoot an enterprise network or pass a certification, subscribe to my channel.

My channel publishes videos that focus on configuring network equipment, learning the details of Wi-Fi, and studying for certifications. If that sounds like it could be helpful for you, please join me!

SUBSCRIBE: https://www.youtube.com/user/RowellDi...

If you found the content useful, consider buying me coffee ☕:
https://ko-fi.com/rowelldionicio

---------------------------------------------------------------------------------------------------------
Where else you can find me:

✏ Blog: https://rowelldionicio.com/blog
➡ Twitter:   / rowelldionicio  
➡ LinkedIn:   / rowelldionicio  
🎙 Podcast: https://cleartosend.net
---------------------------------------------------------------------------------------------------------


Auf dieser Seite können Sie das Online-Video Parsing XML with Python (DevNet) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Rowell Dionicio 16 Mai 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,722 Mal angesehen und es wurde von 113 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!