Re: Atttribute error

2007-05-08 Thread Gabriel Genellina
En Tue, 08 May 2007 13:54:31 -0300, HMS Surprise <[EMAIL PROTECTED]> escribió: >> print urllib.__file__ >> print dir(urllib) >> > > C:\maxq\bin\testScripts\.\urllib.py > ['__doc__', '__file__', '__name__', 'string'] Perhaps you get an import error and it got unnoticed? I think earlier Python

Re: Atttribute error

2007-05-08 Thread HMS Surprise
PS > Add this directly after the ``import`` to see what's happening: > > print urllib.__file__ > print dir(urllib) > C:\maxq\bin\testScripts\.\urllib.py ['__doc__', '__file__', '__name__', 'string'] -- http://mail.python.org/mailman/listinfo/python-list

Re: Atttribute error

2007-05-08 Thread HMS Surprise
On May 8, 11:37 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, HMS Surprise > wrote: > > > The snippet below causes an attribute error. > > > AttributeError: module 'urllib' has no attribute 'urlopen' > > > I am using python 2.2.3. According to the documentation a

Re: Atttribute error

2007-05-08 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, HMS Surprise wrote: > The snippet below causes an attribute error. > > AttributeError: module 'urllib' has no attribute 'urlopen' > > I am using python 2.2.3. According to the documentation at C: > \Python22\Doc\lib urllib has a function called urlopen. Do you have a fil

Atttribute error

2007-05-08 Thread HMS Surprise
The snippet below causes an attribute error. AttributeError: module 'urllib' has no attribute 'urlopen' I am using python 2.2.3. According to the documentation at C: \Python22\Doc\lib urllib has a function called urlopen. #~~~ import urllib class logi