Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Sachin Punjabi
On Oct 30, 2:27 pm, "Leo Kislov" <[EMAIL PROTECTED]> wrote: > Sachin Punjabi wrote: > > I installed it again but it makes no difference. It still throws me > > error for LookUp Error: unknown encoding : utf-8.Most likely you're not > > using the new python, you're still running old > one. > >

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Fredrik Lundh
Sachin Punjabi wrote: > I installed the newer version on D drive and it was previously > installed on C drive. Also the command which bjorn asked me to execute > on command line worked very much fine. what happens if you *type* in the problematic statements at the command line, e.g. >>> import

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Sachin Punjabi
On Oct 30, 2:27 pm, "Leo Kislov" <[EMAIL PROTECTED]> wrote: > Sachin Punjabi wrote: > > I installed it again but it makes no difference. It still throws me > > error for LookUp Error: unknown encoding : utf-8.Most likely you're not > > using the new python, you're still running old > one. > >

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Sachin Punjabi
On Oct 30, 12:47 pm, "thebjorn" <[EMAIL PROTECTED]> wrote: > Sachin Punjabi wrote: > > I wanted to read a file encoded in utf-8 and and using the following > > syntax in my source which throws me an error specifying Lookuperror : > > unknown encoding : utf-8

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Leo Kislov
Sachin Punjabi wrote: > I installed it again but it makes no difference. It still throws me > error for LookUp Error: unknown encoding : utf-8. Most likely you're not using the new python, you're still running old one. -- Leo -- http://mail.python.org/mailman/listinfo/python-list

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Sachin Punjabi
On Oct 30, 1:54 pm, "Leo Kislov" <[EMAIL PROTECTED]> wrote: > Sachin Punjabi wrote: > > On Oct 30, 1:29 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > > Sachin Punjabi wrote: > > > > The OS is Windows XPthen your installation is seriously broken. where > > > > did you get the > > > installati

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Leo Kislov
Sachin Punjabi wrote: > On Oct 30, 1:29 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > Sachin Punjabi wrote: > > > The OS is Windows XPthen your installation is seriously broken. where > > > did you get the > > installation kit? have you removed stuff from the Lib directory ? > > > > > > It

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Sachin Punjabi
On Oct 30, 1:29 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Sachin Punjabi wrote: > > The OS is Windows XPthen your installation is seriously broken. where did > > you get the > installation kit? have you removed stuff from the Lib directory ? > > It was already installed on my PC and I h

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Fredrik Lundh
Sachin Punjabi wrote: > The OS is Windows XP then your installation is seriously broken. where did you get the installation kit? have you removed stuff from the Lib directory ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Lookuperror : unknown encoding : utf-8

2006-10-30 Thread Sachin Punjabi
On Oct 30, 12:42 pm, "Leo Kislov" <[EMAIL PROTECTED]> wrote: > Sachin Punjabi wrote: > > Hi, > > > I wanted to read a file encoded in utf-8 and and using the following > > syntax in my source which throws me an error specifying Lookuperror : > >

Re: Lookuperror : unknown encoding : utf-8

2006-10-29 Thread thebjorn
Sachin Punjabi wrote: > I wanted to read a file encoded in utf-8 and and using the following > syntax in my source which throws me an error specifying Lookuperror : > unknown encoding : utf-8. Also I am working on Python version 2.4.1. You shouldn't have to do anything to have the

Re: Lookuperror : unknown encoding : utf-8

2006-10-29 Thread Leo Kislov
Sachin Punjabi wrote: > Hi, > > I wanted to read a file encoded in utf-8 and and using the following > syntax in my source which throws me an error specifying Lookuperror : > unknown encoding : utf-8. Also I am working on Python version 2.4.1. > > import codecs > fileObj

Lookuperror : unknown encoding : utf-8

2006-10-29 Thread Sachin Punjabi
Hi, I wanted to read a file encoded in utf-8 and and using the following syntax in my source which throws me an error specifying Lookuperror : unknown encoding : utf-8. Also I am working on Python version 2.4.1. import codecs fileObj = codecs.open( "data.txt", "r", "ut