我目前使用BioPython從PMID查詢PubMed記錄。然後我存儲在一個變量被稱爲抽象用的數據類型所期望的信息:將Bio.Entrez類轉換爲字符串
class 'Bio.Entrez.Parser.StructureElement'>
例如,如果我打印我收到此:
{u'AbstractText': ['Hypercholesterolemia and hypertension are frequently associated with elevated sympathetic activity. Both are independent cardiovascular ris....']}
我希望寫的平方之間的文本括號內的字符串。我如何快速有效地做到這一點?