Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (12 sloc) 0.265 kb
#!/usr/bin/env python
import sys
from urllib import quote
from urllib2 import urlopen
if __name__ == '__main__':
url = sys.argv[1]
fn = quote(url, safe='')
f = open(fn, "wb")
try:
f.write(urlopen(url).read())
finally:
f.close()
Jump to Line
Something went wrong with that request. Please try again.