Python Libtorrent doesn't seed
问题 I'm trying to generate a torrent and seed it with python libtorrent, it generates the torrent, but doesn't seed it. I am using libtorrent-0.16.18 with Python3.4 on Ubuntu 14.04 import sys import time import libtorrent as lt fs = lt.file_storage() lt.add_files(fs, "./test.txt") t = lt.create_torrent(fs) t.add_tracker("udp://tracker.publicbt.com:80") t.set_creator("My Torrent") t.set_comment("Test") lt.set_piece_hashes(t, ".") torrent = t.generate() f = open("mytorrent.torrent", "wb") f.write