Monday, November 2, 2009

wget as a python tool

In daily life most of us use graphical dowload managers like kget. Windows users can talk about flashget, also. As many gui alternatives wget is one of the effecive download software for linux.

Also it can be used like a tool for software programmers. You can use it in your python code:

import os

file = ""
os.system("wget -c" + file)

It is such easy. Also most of program managers use wget to download packages from repositories. For instance, pacman, portage..

No comments:

Post a Comment