title: Python: save a page with a lot of graphics as a .html file
body: <p>I want to save a visited page on disk as a file. I am using a urllib and URLOpener. 
  I choose a site <a href="http://emma-watson.net/" rel="nofollow noreferrer">http://emma-watson.net/</a>. The file is saved correctly as .html, but when I open the file I noticed that the main picture on top which contains bookmarks to other subpages is not displayed and also some other elements (like POTD). How can I save the page correctly to have all of the page saved on disk?</p>
  
  <pre><code>def saveUrl(url):
          testfile = urllib.URLopener()
          testfile.retrieve(url,"file.html")
  ...
  saveUrl("http://emma-watson.net")
  </code></pre>
  
  <p>The screen of real page:
  <img src="https://i.stack.imgur.com/6zyHF.png" alt="enter image description here">
  The screen of the opened file on my disk:
  <img src="https://i.stack.imgur.com/DCEMe.png" alt="enter image description here"></p>