From: W. Trevor King Date: Wed, 20 Mar 2013 22:13:44 +0000 (-0400) Subject: swc-windows-installer.py: Separate requests import from stdlib imports X-Git-Tag: v0.1~40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2870c12a174e3f2c02248e9bb329a562d21c62df;p=swc-setup-windows-installer.git swc-windows-installer.py: Separate requests import from stdlib imports Python-requests [1] is not part of the stdlib. [1]: http://docs.python-requests.org/en/latest/ --- diff --git a/setup/swc-windows-installer.py b/setup/swc-windows-installer.py index 638f228..fa4d09e 100755 --- a/setup/swc-windows-installer.py +++ b/setup/swc-windows-installer.py @@ -19,11 +19,13 @@ To use: You should be able to simply double click the file in Windows """ -import requests import shutil import zipfile import os +import requests + + def install_nano(python_scripts_directory): """Download and install the nano text editor""" url = "http://www.nano-editor.org/dist/v2.2/NT/nano-2.2.6.zip"