Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Writing to file in a specific folder
Post: RE: Writing to file in a specific folder

(Nov-13-2020, 05:03 PM)Axel_Erfurt Wrote: s = open(f'/home/verizon/backups/Cisco/{file}' ,'w') getting this error Error:[verizon@lab-gov-tac python]$ python iosbackup.py File "iosbackup.py", line...
evapa8f General Coding Help 5 3,439 Nov-13-2020, 07:57 PM
    Thread: Writing to file in a specific folder
Post: Writing to file in a specific folder

Having trouble writing to a file in a specific directory. I'm using a loop to capture info from multiple devices so the actual filename is represented as a the variable "file" file = (hostname + '.t...
evapa8f General Coding Help 5 3,439 Nov-13-2020, 04:41 PM
    Thread: hello everyone, I am attempting to extract lldp neighbors from Cisco switches->excel
Post: RE: hello everyone, I am attempting to extract lld...

I use a csv file for getting device info. filename is devices.csv myhostname,192.168.1.1,platformID,IOS-XE,username,userpass,enablepass # read file and get values with open("devices.csv","r") a...
evapa8f Networking 1 3,019 Nov-13-2020, 04:29 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020