This post originated from an RSS feed registered with Java Buzz
by Angsuman Chakraborty.
Original Post: Python: A recipe for cryptic code?
Feed Title: Simple Thoughts on Java
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: News and views as a Software Architect and Entepreneur on Java and related Technologies.
I have heard that Python is a great programming language which is so much superior to everything around etc.
The following code in python is touted as the world's smallest p2p client & server.
# tinyp2p.py 1.0 (documentation at http://freedom-to-tinker.com/tinyp2p.html)
import sys, os, SimpleXMLRPCServer, xmlrpclib, re, hmac # (C) 2004, E.W. Felten
ar,pw,res = (sys.argv,lambda u:hmac.new(sys.argv[1],u).hexdigest(),re.search)
pxy,xs = (xmlrpclib.ServerProxy,SimpleXMLRPCServer.SimpleXMLRPCServer)
def [...]