【发布时间】:2010-04-08 16:32:12
【问题描述】:
谁能帮助我如何通过命令行运行 python 脚本?
我的python脚本http://buffis.com/2007/07/25/getting-info_hash-for-xbt-tracker/comment-page-1/
我正在使用这个命令/var/www/hash_info.py /var/www/Muha_Album.7912.torrent
我已经复制了上面文章链接中提到的依赖文件bencode.py。当我执行上述命令时,我收到错误 No such file or directory 但是当我将文件 chmod 到 644 时,它说 Permission denied 该文件存在于该位置。
我已经使用这个命令apt-get install python-gtk2 python-glade2安装了pythong
【问题讨论】: