title: Best python style for complex one-liners
body: <p>I recently wrote a rather ugly looking one-liner, and was wondering if it is better python style to break it up into multiple lines, or leave it as a commented one-liner. I looked in PEP 8, but it did not mention anything about this</p>
  
  <p>This is the code I wrote:</p>
  
  <pre><code>def getlink(url):
      return(urllib.urlopen(url).readlines()[425].split('"')[7])
      # Fetch the page at "url", read the 426th line, split it along
      # quotes, and return the 8th quote delimited section
  </code></pre>
  
  <p>But would something like this be better style?:</p>
  
  <pre><code> def getlink(url):
      url_file = urllib.urlopen(url)
      url_data = url_file.readlines()
      line = url_data[425]
      line = line.split('"')
      return line[7]
  </code></pre>
  
  <p>Or perhaps something in between?</p>