title: Executing / Running a python script from ubuntu server
body: <p>Can anybody help me how to run a python script through command line?</p>
  
  <p>My python script <a href="http://buffis.com/2007/07/25/getting-info_hash-for-xbt-tracker/comment-page-1/" rel="nofollow noreferrer">http://buffis.com/2007/07/25/getting-info_hash-for-xbt-tracker/comment-page-1/</a></p>
  
  <p>I am using this command <code>/var/www/hash_info.py /var/www/Muha_Album.7912.torrent</code></p>
  
  <p>I have copied dependency file <code>bencode.py</code> mentioned in article link above. When I execute the above command I get error <strong>No such file or directory</strong> but when i chmod the file to 644 it says Permission denied the file is present at the location.</p>
  
  <p>I have installed pythong using this command <code>apt-get install python-gtk2 python-glade2</code></p>