I\'ve got some simple python loop through a name to create a list of devices:
for i in range(18): print(\"sfo-router\",(i))
The problem is it p
I'm new at python as well, and a quick google search did this one:
Just use str.replace():
str.replace()
string = 'hey man' string.replace(" ","") # String is now 'heyman'
Source: Python remove all whitespace in a string