我正在尝试在以下标记'row'中找到属性:
row Id =“11”PostTypeId =“1”AcceptedAnswerId =“1248”CreationDate =“2008-07-31T23:55:37.967”Score =“749”ViewCount =“75079”Body =“< p> Given特定的< code> DateTime< / code>值,如何显示相对时间,例如:< / p> < UL> < li> 2小时前< / li> < li> 3天前< / li> < li>一个月前< / li> < / UL> < p>等等?< / p> “OwnerUserId =”1“LastEditorUserId =”402022“LastEditorDisplayName =”Rich B“LastEditDate =”2013-12-16T00:28:55.377“LastActivityDate =”2014-04-09T11:50:10.300“Title =”我如何计算相对时间?“Tags =”< datediff>“AnswerCount =”31“CommentCount =”10“FavoriteCount =”428“CommunityOwnedDate =”2009-09-04T13:15:59.820“
如何在python中使用regexp获取属性值对,例如“ViewCount”?