@AutomationDude we are getting closer! With the following, I am able to print the "name" and "id" field of the network list csv. This narrows the data to just those two fields, which I need for the script. with open('networks.csv', 'w') as new_file:
csv_writer = csv.DictWriter(new_file, Networks[0].keys())
csv_writer.writeheader()
csv_writer.writerows(Networks)
with open('networks.csv', 'r') as read_file:
csv_reader = csv.DictReader(read_file)
for line in csv_reader:
print(line['name'],line['id']) Now I need to find a way to correlate the data so that when a user input types 'name', it prints 'id'. Any ideas on how to do that?
... View more