[Tutor] How does bittorrent works ???

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Mon Oct 18 20:00:00 CEST 2004



On Mon, 18 Oct 2004, Mark Kels wrote:

> I guess you all know bittorrent (If not, check this site -
> http://bittorrent.com/ ).
> The program is writen in python and it uses wxWindows for GUI...
> But how does it work on a computer that dont have python ?!


Hi Mark,


I suspect that the Bittorrent program has been "frozen" by using a utility
that bundles a Python runtime and a Python program into a single .EXE.
One of the more popular of these freezers is py2exe:

    http://starship.python.net/crew/theller/py2exe/


Let me check something... Ok, confirmed.  Bram Cohen does use py2exe,
according to the 'BUILD.windows' instructions that he's written:

http://cvs.sourceforge.net/viewcvs.py/bittorrent/BitTorrent/BUILD.windows.txt?view=markup

So it's a combination of using py2exe to build a standalone, and the
'nullsoft installer' to make it easy to install for Windows.


Hope this helps!



More information about the Tutor mailing list