title: Is it possible that a previously imported module can still be 'remembered'?
body: <p>I have removed the <code>import webpage_get</code> but still have the line calling the module in my code, <code>source_code = webpage_get.wget(website)</code></p>
  
  <p>Unexpectedly, the module still runs despite it no longer being imported. 
  PyCharm recognises that it hasn't been imported and highlights the module name as such.</p>
  
  <p>How can a module that is no longer being imported still work?
  Are the imported modules somehow saved? Is there a way to remove any 'saved' modules?</p>
  
  <p>I have restarted PyCharm and my machine multiple times already.</p>
  
  <pre><code>website = r'https://www.w3schools.com/'
  
  def main():
      source_code = webpage_get.wget(website)
  
  
  
  def wget(url):
      try:
          webpage = urllib.request.urlopen(url)
          page_contents = webpage.read()
          webpage.close()
          page_contents = page_contents.decode()
          return page_contents
      except Exception as err:
          print(f'error loading webpage: {err}')
  </code></pre>