Created
July 9, 2014 16:19
-
-
Save hanji/832e05cd9680b4161458 to your computer and use it in GitHub Desktop.
get vim 7.4 patches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os,tempfile,urllib | |
for i in range(1,359): | |
with open(os.path.sep.join((tempfile.gettempdir(),'7.4.'+ str(i).zfill(3))), 'wb') as f: | |
f.write(urllib.urlopen('ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.%s' % str(i).zfill(3)).read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment