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
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
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
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
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