Я имею следующий текст: (u'123',) (u'dadasd',) (u'hello seal',) (u'hello seal',) (u'seal',) (u'\u0442\u044e\u043b\u0435\u043d\u044c\u0451',) Как мне его преобразовать в 123,dadasd, hello seal, hello seal, seal? При этом используя Python?
Я имею следующий текст: (u'123',) (u'dadasd',) (u'hello seal',) (u'hello seal',) (u'seal',) (u'\u0442\u044e\u043b\u0435\u043d\u044c\u0451',) Как мне его преобразовать в 123,dadasd, hello seal, hello seal, seal? При этом используя Python?
import re re.findall(r"'(.*?)'", s)