The output of my re.search returns <_sre.SRE_Match object at 0x10d6ed4e0> I was wondering how could I convert this to a string? or a more readable form?
re.search
<_sre.SRE_Match object at 0x10d6ed4e0>
You should do it as:
result = re.search(your_stuff_here) if result: print result.group(0)
2.1m questions
2.1m answers
60 comments
57.0k users