Let's say I have :
my_args = ["QA-65"]
as the desired result,
but in my function, I have:
m = re.search("([a-zA-Z]+-\d+)",line)
print 'printing m.group(1)'
print m.group(1)
m_args = m.group(1)
print 'my_args '
print m_args
print type(m_args)
so that the type of "m_args" is string, i.e
How can I convert m_args to a list with just one element with the same content as the string?