GNS3 Talks: Python for Network Engineers with GNS3 (Part 8) – Opening Files and spacing importance!
Learn Python programming with GNS3. In this series of videos I will show you how you can quickly and easily program Cisco networks using Python.
In this video I show you how to open a file and leverage that for configuring Cisco switches. I also demonstrate the importance of spacing in Python.
Code is on GitHub here:
https://github.com/davidbombal/pythonvideos/blob/master/switchloopfile.py
source