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
---------------------------------------------------------------------------------------------------------
Nesta página do site você pode assistir ao vídeo on-line Parsing XML with Python (DevNet) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Rowell Dionicio 16 May 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 8,722 vezes e gostou 113 espectadores. Boa visualização!