Latest recipes tagged "retrieve"http://code.activestate.com/recipes/tags/retrieve/new/2011-11-21T06:41:57-08:00ActiveState Code RecipesGet multiple elements from a list (Python) 2011-11-21T06:41:57-08:00Alexander James Wallarhttp://code.activestate.com/recipes/users/4179768/http://code.activestate.com/recipes/577953-get-multiple-elements-from-a-list/ <p style="color: grey"> Python recipe 577953 by <a href="/recipes/users/4179768/">Alexander James Wallar</a> (<a href="/recipes/tags/get/">get</a>, <a href="/recipes/tags/getvar/">getvar</a>, <a href="/recipes/tags/list/">list</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/retrieve/">retrieve</a>, <a href="/recipes/tags/retrieving/">retrieving</a>). </p> <p>This code lets you retrieve multiple elements from a list at one time</p> Improvements of the urllib.URLopen.retrieve() method (Python) 2010-01-16T04:50:07-08:00Kévin Gomezhttp://code.activestate.com/recipes/users/4172815/http://code.activestate.com/recipes/577009-improvements-of-the-urlliburlopenretrieve-method/ <p style="color: grey"> Python recipe 577009 by <a href="/recipes/users/4172815/">Kévin Gomez</a> (<a href="/recipes/tags/retrieve/">retrieve</a>, <a href="/recipes/tags/urllib/">urllib</a>). </p> <p>I improved the urllib.URLopen.retrieve() method so that it can restart a download if it failed. And like wget does (with wget -c), it restarts where it stopped. The number of maximum tries can be changed.</p>