Sep-03-2021, 04:23 PM
(This post was last modified: Sep-03-2021, 04:24 PM by deanhystad.)
I use this one a lot for debugging programs too small to warrant logging.
print(f'{2**3 = }')
Output:2**3 = 8
Not quite what you want since it prints the command, not the sent command.print(f'{net_connect.send_command("show ip int brief") = }')
Output:net_connect_send_command("show ip int brief") = whatever