擅长:python、mysql、java
<p>使用<a href="https://docs.python.org/2/library/urllib.html" rel="nofollow">urllib.urlretrieve:</a></p>
<pre><code> import urllib
testfile = urllib.URLopener()
testfile.retrieve("http://example.com/here/there/index.html", "/tmp/index.txt")
</code></pre>