Re: Read an image from a URL and write it to the browser

2008-12-21 Thread Steve Holden
McCoy Fan wrote: > On Dec 21, 7:25 am, Peter Otten <__pete...@web.de> wrote: >> McCoy Fan wrote: >>> I want to do something simple: read an image from an image URL and >>> write the image to the browser in CGI style. >>> I wrote a CGI script to do this (I'm new to Python) and got the >>> following

Re: Read an image from a URL and write it to the browser

2008-12-21 Thread McCoy Fan
On Dec 21, 7:25 am, Peter Otten <__pete...@web.de> wrote: > McCoy Fan wrote: > > I want to do something simple: read an image from an image URL and > > write the image to the browser in CGI style. > > > I wrote a CGI script to do this (I'm new to Python) and got the > > following error: > > > "Fanc

Re: Read an image from a URL and write it to the browser

2008-12-21 Thread Peter Otten
McCoy Fan wrote: > I want to do something simple: read an image from an image URL and > write the image to the browser in CGI style. > > I wrote a CGI script to do this (I'm new to Python) and got the > following error: > > "FancyURLopener instance has no attribute 'tempcache'" in method FancyU

Read an image from a URL and write it to the browser

2008-12-21 Thread McCoy Fan
I want to do something simple: read an image from an image URL and write the image to the browser in CGI style. I wrote a CGI script to do this (I'm new to Python) and got the following error: "FancyURLopener instance has no attribute 'tempcache'" in http://www.google.com/google_logo.jpg"; imgS