Hi I'm running python regular expression to extract some data from news pages, however when it is displayed the code produces brackets and apostrophes in the output. For example this is my code:
description_title = findall('<item>[\s]*<title[^>]*>(.*?)<\/title>[\s]*<description>', html_source)[:1]
news_file.write('<h3 align="Center">' + str(description_title) + ": " + '</h3\n>')
but this code creates the output of ['Technology']:, ['Finance']: but i want Technology, Finance without the [''] around it.