I need to create a variable in runtime. How do I do this using python
ex:
for l in self.device.output.split("\n"):
r1 = re.match("(?P<phy>(te|gi)+)", l.strip(), re.IGNORECASE)
if r1 is not None:
s = l.split(' ')
Here s
will be of form : ['GigabitEthernet4/0/1', '', '', 'unassigned', '\r']
I need to create a variable like this
s[0]_myqueue0
s[0]_myqueue1
So that I can assign values to above myqueues
later in the program
How do I do this?