Executing / Running a python script from ubuntu server
Posted
by Shishant
on Stack Overflow
See other posts from Stack Overflow
or by Shishant
Published on 2010-04-08T16:32:12Z
Indexed on
2010/04/08
16:33 UTC
Read the original article
Hit count: 404
Hello,
Can anybody help me how to run a python script through command line?
My python script http://buffis.com/2007/07/25/getting-info_hash-for-xbt-tracker/comment-page-1/
I am using this command /var/www/hash_info.py /var/www/Muha_Album.7912.torrent
I have copied dependency file bencode.py
mentioned in article link above. When I execute the above command I get error No such file or directory but when i chmod the file to 644 it says Permission denied the file is present at the location.
I have installed pythong using this command apt-get install python-gtk2 python-glade2
Thank You.
© Stack Overflow or respective owner