06-15-2023 07:40 AM
I want to be able to enter comments before each output for the show commands listed in the list in my Python script. For instance, before the 'show ip int br' output is displayed I would like it to read "check these interfaces" or "this is from test device, etc. etc.
Right now it just display output of "show ip int br" then directly after "show interface status" etc.
Any help??
Here is my working script:
06-15-2023 07:58 AM
Hi
Put another print() before
print("You message here")
print(output)
06-22-2023 04:56 AM
You mean like this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide