Python stuff on slashdot

Mordy Ovits movits at lockstar.com
Thu May 6 11:08:32 EDT 1999


Didja all notice the discussion going on about Python on Slashdot?  Seems that
Guido winning the award touched off quite the language war.
But most cool was this post from an Anonymous coward (note the mention of
c.l.p):
<QUOTE>
Python (Score:2)
by Anonymous Coward on Wednesday May 05, @06:44PM EDT
 
Python is mind-bogglingly useful and its source is so clean as to make you cry.
Extending it to do supercomputer applications, embedding it into video games,
and other exotic uses have all become common for Python. 
Take this small test: 
Can your language do client and server COM? 
Can your language do client and server CORBA? 
Can your language be extended and embedded with ease? 
Does your language have an amazingly deep library of utility classes? 
Does your language have a superbly-civilzed newgroup? (Hi Tim Peters, MA
Lemburg, Fredik Lundh, Andrew Kuchling. You guys are awesome) 
If you can't claim these things, try python.
</QUOTE>

Funny, eh?
Mordy
-- 
o Mordy Ovits
o Cryptographic Engineer
o LockStar Inc.
---------------------------------------------------------------------------
#!/usr/local/bin/python 
from sys import*;from string import*;a=argv;[s,p,q]=filter(lambda x:x[:1]!=
'-',a);d='-d'in a;e,n=atol(p,16),atol(q,16);l=(len(q)+1)/2;o,inb=l-d,l-1+d
while s:s=stdin.read(inb);s and map(stdout.write,map(lambda i,b=pow(reduce(
lambda x,y:(x<<8L)+y,map(ord,s)),e,n):chr(b>>8*i&255),range(o-1,-1,-1)))




More information about the Python-list mailing list