Re: Download .jpg from web

2006-06-07 Thread Mark rainess
GMane Python wrote: > Hello All. > Using a network camera with built-in webserver, I'd like to have a python > program download .jpg files on a local lan. the location is > http:///jpg/image.jpg. > > Currently, I'm importing urllib and using urlopen to the address, then > read()-ing it, savin

Re: Download .jpg from web

2005-01-06 Thread Adam DePrince
On Thu, 2005-01-06 at 13:49, GMane Python wrote: > Hello All. > Using a network camera with built-in webserver, I'd like to have a python > program download .jpg files on a local lan. the location is > http:///jpg/image.jpg. > > Currently, I'm importing urllib and using urlopen to the address

Re: Download .jpg from web

2005-01-06 Thread ralobao
You could try using: urlllib.urlretrieve ...it may be faster. -- http://mail.python.org/mailman/listinfo/python-list

Re: Download .jpg from web

2005-01-06 Thread Istvan Albert
GMane Python wrote: Using a network camera with built-in webserver The first thing that might be worth investigating is this webserver. What kind of throughput is it capable of? How does it handle repeated requests etc. Your program won't be faster than the server that provides it with the data.

Download .jpg from web

2005-01-06 Thread GMane Python
Hello All. Using a network camera with built-in webserver, I'd like to have a python program download .jpg files on a local lan. the location is http:///jpg/image.jpg. Currently, I'm importing urllib and using urlopen to the address, then read()-ing it, saving it to a binary file. All that i