View Single Post
Old 05-06-2019, 10:47 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,636
Hi slouw,

This seems more like a Python question than a SecureCRT question:

(I personally think there are better resources than the above "official" documentation, but you would need to search those out yourself.)

But what do you mean by "This does not work"?
# This does not work
What error do you get? What results do you get? How does that differ from the expected results?

You need to add the key+item into the dictionary as a pair and I am not sure any of your code is doing that. Instead it looks like you are replacing key with item.

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote