---
title: "Python之urllib使用"
author: "androider"
date: "2009-06-18T08:10:43Z"
tags: []
slug: "python-urllib"
draft: false
lastmod: "2009-06-18T08:10:43Z"
id: 410349
url: "https://androider.iteye.com/blog/410349"
---

```
>>> import urllib
>>> url = r"http://www.ssylgc.com/images/index1.swf"
>>> path = r"c:/index1.swf"
>>> data = urllib.urlretrieve(url, path)
>>>
```