Parsing XML with Python (DevNet)

Pubblicato il: 16 May 2020
sul canale di: 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
---------------------------------------------------------------------------------------------------------


In questa pagina del sito puoi guardare il video online Parsing XML with Python (DevNet) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Rowell Dionicio 16 May 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 8,722 volte e gli è piaciuto 113 spettatori. Buona visione!