This article details about the need of network automation and various key topics required to build automation in enterprise network
Network automation
Python Libraries
| Library | Use | Remarks |
| os | “import os” To handle file and directory operation | Directory operations Os.Mkdir, rmdir, listdir, chdir, getcwd, walk, os.remove Path management: os.path.jion os.path.abspath os.path.isfile os.path.isdir |
| datetime | from datetime import datetime to handle the date/time function | tm = datetime.now()da = tm.day mm = tm.month yy = tm.year min=tm.minsec=tm.sec |
| Random | Import random Random.randrange( 9 100) | 9 100 is start and end value of range |