怎么用python解析带有命名空间的xml文件

如何用python解析带有命名空间的xml文件
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:db="http://www.douban.com/xmlns/" xmlns:gd="http://schemas.google.com/g/2005" xmlns:opensearch="http://a9.com/-/spec/opensearchrss/1.0/">
<title>阿北 的朋友</title>
<author>
<link href="http://api.douban.com/people/ahbei" rel="self"/>
<link href="http://www.douban.com/people/ahbei/" rel="alternate"/>
<link href="http://t.douban.com/icon/u1000001-14.jpg" rel="icon"/>
<name>阿北</name>
<uri>http://api.douban.com/people/1000001</uri>
</author>
<opensearch:startIndex>1</opensearch:startIndex>
<opensearch:itemsPerPage>2</opensearch:itemsPerPage>
<opensearch:totalResults>114</opensearch:totalResults>
<entry>
<id>http://api.douban.com/people/1010394</id>
<title>Engo@寻各种达人</title>
<link href="http://api.douban.com/people/1010394" rel="self"/>
<link href="http://www.douban.com/people/akin/" rel="alternate"/>
<link href="http://t.douban.com/icon/u1010394-10.jpg" rel="icon"/>
<link href="http://www.halfull.cn" rel="homepage"/>
<content>但行好事,莫问前程。

http://www.douban.com/group/topic/3750385/ 寻各种达人

我的"朋友"
那会是已经认识很久或将要认识并能持续很久的人,谢谢。</content>

<db:location id="beijing">北京</db:location>
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:db="http://www.douban.com/xmlns/" xmlns:gd="http://schemas.google.com/g/2005" xmlns:opensearch="http://a9.com/-/spec/opensearchrss/1.0/">
<title>阿北 的朋友</title>
<author>
<link href="http://api.douban.com/people/ahbei" rel="self"/>
<link href="http://www.douban.com/people/ahbei/" rel="alternate"/>
<link href="http://t.douban.com/icon/u1000001-14.jpg" rel="icon"/>
<name>阿北</name>
<uri>http://api.douban.com/people/1000001</uri>
</author>
<opensearch:startIndex>1</opensearch:startIndex>
<opensearch:itemsPerPage>2</opensearch:itemsPerPage>
<opensearch:totalResults>114</opensearch:totalResults>
<entry>
<id>http://api.douban.com/people/1010394</id>
<title>Engo@寻各种达人</title>
<link href="http://api.douban.com/people/1010394" rel="self"/>
<link href="http://www.douban.com/people/akin/" rel="alternate"/>
<link href="http://t.douban.com/icon/u1010394-10.jpg" rel="icon"/>
<link href="http://www.halfull.cn" rel="homepage"/>
<content>但行好事,莫问前程。

http://www.douban.com/group/topic/3750385/ 寻各种达人

我的"朋友"
那会是已经认识很久或将要认识并能持续很久的人,谢谢。</content>

<db:location id="beijing">北京</db:location>
<db:uid>akin</db:uid>
</entry>
<entry>
<id>http://api.douban.com/people/1276180</id>
<title>蒜王子(((♪)))</title>
<link href="http://api.douban.com/people/1276180" rel="self"/>
<link href="http://www.douban.com/people/movie007wn/" rel="alternate"/>
<link href="http://t.douban.com/icon/u1276180-40.jpg" rel="icon"/>
<content>♂┣▇▇▇═—。
ருவசிர்ம்ர்ளேசி</content>
<db:location id="beijing">北京</db:location>