Tim Chase  <[EMAIL PROTECTED]> wrote:
>> [ ... ]
>>         urllib.urlretrieve(lines.strip('/n'), 'c:\\temp\\' \
>>         + outfilename.strip('\n')[7:] + '.html')
> [ ... ]  I'm not sure what the odd 
>slicing is for, but I'll presume the OP knows what they're doing.

It's taking the "http://"; off the front of the URL.

>>> len("http://";)
7

-- 
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
  ___  |  "Frankly I have no feelings towards penguins one way or the other"
  \X/  |    -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to