title: How to get everything after last slash in a URL?
body: <p>How can I extract whatever follows the last slash in a URL in Python? For example, these URLs should return the following:</p>
  
  <pre><code>URL: http://www.test.com/TEST1
  returns: TEST1
  
  URL: http://www.test.com/page/TEST2
  returns: TEST2
  
  URL: http://www.test.com/page/page/12345
  returns: 12345
  </code></pre>
  
  <p>I've tried urlparse, but that gives me the full path filename, such as <code>page/page/12345</code>.</p>