HIST5702 command line windows python

Wget

There are other methods to download stuff on the internet. What makes wget good? Wow... you can do so much with such a tiny little command. The best aspect is -r or recursive retrieval which follows links from a website (to a certain depth). Mine all the things!

I think it also comes down to the same old idea of software and platform we embrace - it is all about preference and usage needs.

So let's do a quick run of wget.

Windows Users

Data Mining the Internet archive is hard on Windows. Unix is luv, Unix is lyf.

The tutorial was not at all geared for you. So beginner's with the command line could be confused. First! Windows does not use the UNIX (read: also mac) command sudo. The command line or Powershell will not recognize this command.

sudo executes a command as an administrator. You will have to type in your computer's password. As a security measure, Unix will not show your password, even as dots as you write.

Do the following if pip install is not working

  1. Make sure python is at your root folder C:\ So you will have C:\Python27
  2. In the command line at C:\Python27 type setx PATH "%PATH%;C:\Python27\Scripts" (NOTE: You may need to restart your computer to run the next command)
  3. Go back to the folder you want to work in - from that folder in the command line type python -m pip install internetarchive
  4. Profit