Re: No module named urllib

2007-05-08 Thread HMS Surprise
Great idea Dennis, I will look into that. Thanks, jh -- http://mail.python.org/mailman/listinfo/python-list

Re: No module named urllib

2007-05-08 Thread HMS Surprise
On May 8, 9:13 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > > To summarize the summary, are you sure you need to use Jython instead of > > standard CPython? > > Thanks for all your help Carsten, you have been more than patient with > me. > > To answer your question I must admit I do not know. I am

Re: No module named urllib

2007-05-08 Thread HMS Surprise
> To summarize the summary, are you sure you need to use Jython instead of > standard CPython? > Thanks for all your help Carsten, you have been more than patient with me. To answer your question I must admit I do not know. I am trying to use a tool called maxq (maxq.tigris.org) that has limited

Re: No module named urllib

2007-05-08 Thread Carsten Haese
On Tue, 2007-05-08 at 06:19 -0700, HMS Surprise wrote: > Thanks for posting. How does one ensure (or even detect) that their > libraries are compatible? You ensure that by taking the library from the version of Python that you're running. > I loaded this library as part of Python 2.5. That's too

Re: No module named urllib

2007-05-08 Thread HMS Surprise
On May 7, 6:54 pm, Carsten Haese <[EMAIL PROTECTED]> wrote: > On Mon, 2007-05-07 at 16:24 -0700, HMS Surprise wrote: > > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > > copied urllib to c:\maxq\lib\Lib. > > > Now I get the error - > > > Traceback (innermost last): > > File

Re: No module named urllib

2007-05-07 Thread Carsten Haese
On Mon, 2007-05-07 at 16:24 -0700, HMS Surprise wrote: > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > copied urllib to c:\maxq\lib\Lib. > > Now I get the error - > > Traceback (innermost last): > File "", line 5, in ? > File "C:\maxq\lib\Lib\urllib.py", line 1148 >

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 6:31 pm, Jorge Godoy <[EMAIL PROTECTED]> wrote: > HMS Surprise <[EMAIL PROTECTED]> writes: > > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > > copied urllib to c:\maxq\lib\Lib. > > > Now I get the error - > > > Traceback (innermost last): > > File "", line 5, in ?

Re: No module named urllib

2007-05-07 Thread John Machin
On May 8, 9:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > On May 7, 6:00 pm, John Machin <[EMAIL PROTECTED]> wrote: > > > > > On May 8, 8:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > > > > I edited environment varialbes and have added C:\Python25\Lib to > > > PYTHONPATH but get the no module

Re: No module named urllib

2007-05-07 Thread Jorge Godoy
HMS Surprise <[EMAIL PROTECTED]> writes: > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > copied urllib to c:\maxq\lib\Lib. > > Now I get the error - > > Traceback (innermost last): > File "", line 5, in ? > File "C:\maxq\lib\Lib\urllib.py", line 1148 > _hextochr =

Re: No module named urllib

2007-05-07 Thread HMS Surprise
Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I copied urllib to c:\maxq\lib\Lib. Now I get the error - Traceback (innermost last): File "", line 5, in ? File "C:\maxq\lib\Lib\urllib.py", line 1148 _hextochr = dict(('%02x' % i, chr(i)) for i in range(256))

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 6:00 pm, John Machin <[EMAIL PROTECTED]> wrote: > On May 8, 8:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > > > I edited environment varialbes and have added C:\Python25\Lib to > > PYTHONPATH but get the no module message when the statement > > That directory should already be in sys.p

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 5:45 pm, Jorge Godoy <[EMAIL PROTECTED]> wrote: > HMS Surprise <[EMAIL PROTECTED]> writes: > > Perhaps I should have put qoutes in my sentence. > > Or I should have read it slowly. ;-) > > > I get the "no module message named urllib". > > Can you please > > import sys > print sys.path > >

Re: No module named urllib

2007-05-07 Thread John Machin
On May 8, 8:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > I edited environment varialbes and have added C:\Python25\Lib to > PYTHONPATH but get the no module message when the statement That directory should already be in sys.path after a normal Python install. Likewise the PYTHONPATH environmen

Re: No module named urllib

2007-05-07 Thread Jorge Godoy
HMS Surprise <[EMAIL PROTECTED]> writes: > Perhaps I should have put qoutes in my sentence. Or I should have read it slowly. ;-) > I get the "no module message named urllib". Can you please import sys print sys.path and put the answer here on the newsgroup? -- Jorge Godoy <[EMAIL PROTE

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 5:29 pm, Jorge Godoy <[EMAIL PROTECTED]> wrote: > HMS Surprise <[EMAIL PROTECTED]> writes: > > I edited environment varialbes and have added C:\Python25\Lib to > > PYTHONPATH but get the no module message when the statement > > > import urllib > > > is executed. > > > Even tried copying t

Re: No module named urllib

2007-05-07 Thread Jorge Godoy
HMS Surprise <[EMAIL PROTECTED]> writes: > I edited environment varialbes and have added C:\Python25\Lib to > PYTHONPATH but get the no module message when the statement > > import urllib > > is executed. > > Even tried copying the urllib file to my working directory. > > Any suggestions? No mess