Stephen Prinster  <[EMAIL PROTECTED]> wrote:
>>>> a, b, c, d = 'Total size: 173233 (371857)'.split()
>>>> first_int, second_int = int(c), int(d[1:-1])

int(d[1:-1]) can be replaced by d.strip("()"), which may or
may not be clearer in intent.

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