用较少信息的颜色打印对象
torrent_rename的Python项目详细描述
Torrent_rename
===
==
将Torrent重命名为原始名称的命令行和模块
-
代码块::text
$pip install torrent_rename
torrent_rename支持python 2和更新版本、python 3和更新版本以及pypypy。
…_ pip:https://pip.pypa.io/en/stable/quickstart/
下面是一个简单的Torrent重命名程序的示例:
…代码块::python
from torrent_rename import torrent_rename
tr rename(torrent_file_path,overwrite=true)overwrite:true或auto(str),自动:自动重命名Torrent文件
,以及运行时的外观:
…代码块::text
$python test.py
文件:l:\ temp\torrent_files\jet red.torrent
名称:[('name7:','jet red','12:')]
名称:jet red
重命名:[覆盖]jet red.torrent可以作为命令行运行。代码块::batch
$torrent_rename“/home/cumulus13/download/74bc02344ec863d4cd9d5f942c1a0c3ae513746d.torrent”“
文件:l:\ temp\torrent_files\jet red.torrent
名称:[('name7:','jet red,'12:')]
名称:jet red
重命名:[overwrite]jet red.torrent
??——Linux
链接
----
*许可证:`bsd<;https://github.com/licface/torrent_rename/src/default/license.rst>;` ` `*代码:https://github.com/licface/torrent_rename
*问题跟踪程序:https://github.com/licface/torrent_rename/issues
===
==
将Torrent重命名为原始名称的命令行和模块
-
代码块::text
$pip install torrent_rename
torrent_rename支持python 2和更新版本、python 3和更新版本以及pypypy。
…_ pip:https://pip.pypa.io/en/stable/quickstart/
下面是一个简单的Torrent重命名程序的示例:
…代码块::python
from torrent_rename import torrent_rename
tr rename(torrent_file_path,overwrite=true)overwrite:true或auto(str),自动:自动重命名Torrent文件
,以及运行时的外观:
…代码块::text
$python test.py
文件:l:\ temp\torrent_files\jet red.torrent
名称:[('name7:','jet red','12:')]
名称:jet red
重命名:[覆盖]jet red.torrent可以作为命令行运行。代码块::batch
$torrent_rename“/home/cumulus13/download/74bc02344ec863d4cd9d5f942c1a0c3ae513746d.torrent”“
文件:l:\ temp\torrent_files\jet red.torrent
名称:[('name7:','jet red,'12:')]
名称:jet red
重命名:[overwrite]jet red.torrent
??——Linux
链接
----
*许可证:`bsd<;https://github.com/licface/torrent_rename/src/default/license.rst>;` ` `*代码:https://github.com/licface/torrent_rename
*问题跟踪程序:https://github.com/licface/torrent_rename/issues