Re: UnicodeDecodeError having fetch web page

2010-05-26 Thread Kushal Kumaran
On Wed, May 26, 2010 at 11:40 PM, Rob Williscroft wrote: > Kushal Kumaran wrote in news:1274889564.2339.16.ca...@nitrogen in > gmane.comp.python.general: > >> On Tue, 2010-05-25 at 20:12 +, Rob Williscroft wrote: >>> Barry wrote in news:83dc485a-5a20-403b-99ee-c8c627bdbab3 >>> @m21g2000vbr.goo

Re: UnicodeDecodeError having fetch web page

2010-05-26 Thread Rob Williscroft
Kushal Kumaran wrote in news:1274889564.2339.16.ca...@nitrogen in gmane.comp.python.general: > On Tue, 2010-05-25 at 20:12 +, Rob Williscroft wrote: >> Barry wrote in news:83dc485a-5a20-403b-99ee-c8c627bdbab3 >> @m21g2000vbr.googlegroups.com in gmane.comp.python.general: >> >> > Hi, >> > >>

Re: UnicodeDecodeError having fetch web page

2010-05-26 Thread Kushal Kumaran
On Tue, 2010-05-25 at 20:12 +, Rob Williscroft wrote: > Barry wrote in news:83dc485a-5a20-403b-99ee-c8c627bdbab3 > @m21g2000vbr.googlegroups.com in gmane.comp.python.general: > > > Hi, > > > > The code below is giving me the error: > > > > Traceback (most recent call last): > > File "C:\Us

Re: UnicodeDecodeError having fetch web page

2010-05-26 Thread John Machin
Rob Williscroft rtw.me.uk> writes: > > Barry wrote in news:83dc485a-5a20-403b-99ee-c8c627bdbab3 > @m21g2000vbr.googlegroups.com in gmane.comp.python.general: > > > UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1: > > unexpected code byte > > It may not be you, en.wiktion

Re: UnicodeDecodeError having fetch web page

2010-05-25 Thread Philip Semanchuk
On May 25, 2010, at 4:00 PM, Barry wrote: On 25 Maj, 21:39, Philip Semanchuk wrote: On May 25, 2010, at 3:13 PM, Barry wrote: Hi, The code below is giving me the error: Traceback (most recent call last): File "C:\Users\Administratör\Desktop\test.py", line 4, in UnicodeDecodeError:

Re: UnicodeDecodeError having fetch web page

2010-05-25 Thread Rob Williscroft
Barry wrote in news:83dc485a-5a20-403b-99ee-c8c627bdbab3 @m21g2000vbr.googlegroups.com in gmane.comp.python.general: > Hi, > > The code below is giving me the error: > > Traceback (most recent call last): > File "C:\Users\Administratör\Desktop\test.py", line 4, in > UnicodeDecodeError: 'utf8

Re: UnicodeDecodeError having fetch web page

2010-05-25 Thread Peter Otten
Barry wrote: > On 25 Maj, 21:39, Philip Semanchuk wrote: >> On May 25, 2010, at 3:13 PM, Barry wrote: >> >> >> >> > Hi, >> >> > The code below is giving me the error: >> >> > Traceback (most recent call last): >> > File "C:\Users\Administratör\Desktop\test.py", line 4, in >> > UnicodeDecodeError

Re: UnicodeDecodeError having fetch web page

2010-05-25 Thread Barry
On 25 Maj, 21:39, Philip Semanchuk wrote: > On May 25, 2010, at 3:13 PM, Barry wrote: > > > > > Hi, > > > The code below is giving me the error: > > > Traceback (most recent call last): > >  File "C:\Users\Administratör\Desktop\test.py", line 4, in > > UnicodeDecodeError: 'utf8' codec can't decod

Re: UnicodeDecodeError having fetch web page

2010-05-25 Thread Philip Semanchuk
On May 25, 2010, at 3:13 PM, Barry wrote: Hi, The code below is giving me the error: Traceback (most recent call last): File "C:\Users\Administratör\Desktop\test.py", line 4, in UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1: unexpected code byte What am i doing wr

UnicodeDecodeError having fetch web page

2010-05-25 Thread Barry
Hi, The code below is giving me the error: Traceback (most recent call last): File "C:\Users\Administratör\Desktop\test.py", line 4, in UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1: unexpected code byte What am i doing wrong? Thanks, Barry request = urllib.reques