문제

I am implementing a distributed p2p based model in python using python-bittorent library. So, basically i want the peer info/list from a torrent.

from bittorrent import Tracker, Torrent
import torrent
import tracker


f=open("0F605C725275D1045361A17B0222B57232EE77BD.torrent","r+")

tor=Torrent(f.name)
tor.get_peers(peer_list)

So, I'm wondering what should be the possible way I enter data in peer_list. I mean how am i supposed to enter data like 172.16.44.207:22592, 115.187.33.86:22592, in the form of a list.

Kindly suggest.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top