title: Python script doesn't print output in command prompt
body: <p>I need some advice with a Python script. I'm still new and learned it by myself. I found the script on Google. After I retype it, it doesn't print the result in the console. How can the result of the script be shown in the console? Details as below:</p>
  
  <blockquote>
    <p>C:\Python27>test1.py af8978b1797b72acfff9595a5a2a373ec3d9106d</p>
    
    <p>C:\Python27></p>
  </blockquote>
  
  <p>After I press enter, nothing happens. Should the result be shown or not?</p>
  
  <p>Here's the code that I retyped:</p>
  
  <pre><code>#!/usr/bin/python
  #coding: ascii
  
  import requests
  import sys
  import re
  
  url = 'http://hashtoolkit.com/reverse-hash?hash='
  try:
      hash = sys.argv[1]
  except:
       print ("usage: python "+sys.argv[0]+" hash")
  sys.exit()
  
  http = request.get(url+hash)
  content = http.content
  cracked = re.findall("&lt;span title=\*decrypted (md5|sha1|sha384|sha512) hash\*&gt;(.*)&lt;/span&gt;", content) # expression regular
  print ("\n\tAlgoritmo: "+cracked[0][0])
  print ("\tPassword Cracked: "+cracked[0][1])
  </code></pre>