Fascinated by how peer-to-peer applications work? Wondering how many lines of code are needed to produce such a wondeful application? Well apparently it only takes 15 lines of Python.

TinyP2P is a functional peer-to-peer file sharing application, written in fifteen lines of code, in the Python programming language. I wrote TinyP2P to illustrate the difficulty of regulating peer-to-peer applications. Peer-to-peer apps can be very simple, and any moderately skilled programmer can write one, so attempts to ban their creation would be fruitless.

I love to see smart people doing smart things. Python really seems to be the defacto language of choice for geeks today.

Geek News Central

Related posts:

Web Services Choreography Description Language Version 1.0
Magnus’s Python Page
Hide Front Row icons from your Dock
Why You Need Coding Standards
Funny Code

Hope you like that post!

Forever Geek is a resource for all things geek. You can stay tuned by having the latest FG news delivered to you for free via RSS.