Fastest way to retrieve and write html contents to file

DFS nospam at dfs.com
Mon May 2 00:50:51 EDT 2016


On 5/2/2016 12:40 AM, Chris Angelico wrote:
> On Mon, May 2, 2016 at 2:34 PM, Stephen Hansen <me+python at ixokai.io> wrote:
>> On Sun, May 1, 2016, at 09:06 PM, DFS wrote:
>>> Then I tested them in loops - the VBScript is MUCH faster: 0.44 for 10
>>> iterations, vs 0.88 for python.
>> ...
>>> I know it's asking a lot, but is there a really fast AND really short
>>> python solution for this simple thing?
>>
>> 0.88 is not fast enough for you? That's less then a second.
>
> Also, this is timings of network and disk operations. Unless something
> pathological is happening, the language used won't make any
> difference.
>
> ChrisA


Unfortunately, the VBScript is twice as fast as any python method.







More information about the Python-list mailing list