Welcome To Snipplr


Everyone's Recent Python Snippets



like PHP's 'jS'
0 1575 posted 16 years ago by ches
The ASPN cookbook has many recipes for singletons in Python. So far, this one http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/412551 has been my favourite, because it is so simple and concise. However, I just ran into a brick wall when I tr...
0 612 posted 16 years ago by n3x
1 472 posted 17 years ago by abhiomkar
1 560 posted 17 years ago by abhiomkar
Since the version of compose() that ships with functional only allows you to compose two functions, I present this version that composes n functions.
0 500 posted 17 years ago by collin
6 749 posted 17 years ago by whitetiger
0 745 posted 17 years ago by whitetiger
1 674 posted 17 years ago by whitetiger
Tired of the Python's "".join(...) idiom requiring you to pre-stringify all the arguments to join()? Yeah, me too.
1 479 posted 17 years ago by collin
This snippets try to download itself from http://snipplr.com using xml-rpc
6 802 posted 17 years ago by arcturus
1 765 posted 17 years ago by sudarkoff
0 430 posted 17 years ago by jacobian
0 620 posted 17 years ago by jacobian