[BangPypers] hook file download
steve at lonetwin.net
Fri Sep 7 19:38:17 CEST 2012
On Friday 07 September 2012 03:59 PM, Nitin Kumar wrote:
> Say for example:
> from a site http://www.winzip.com/downwz.htm we click "download" button.
> So i file download will start.
> but I want to do some other activities before file start to download. so is
> there a way to pause start of download do some activity and then start the
> download using python.
> Hope this time I am bit clear.
Not entirely. What exactly are you trying to achieve ? If you are trying to do
this as part of testing, take a look at Selenium ( http://seleniumhq.org/ ) or
mechanize ( http://wwwsearch.sourceforge.net/mechanize/ ). If, otoh, you are
trying to automate something using a browser (as opposed to doing it from the
command line, for instance using twill - http://twill.idyll.org/ ) then I'd
More information about the BangPypers