Welcome To Snipplr
Everyone's Recent Python Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
743
posted 17 years ago by n3x
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
643
posted 18 years ago by collin
Tired of the Python's "".join(...) idiom requiring you to pre-stringify all the arguments to join()? Yeah, me too.
1
609
posted 18 years ago by collin
This snippets try to download itself from http://snipplr.com using xml-rpc
6
995
posted 18 years ago by arcturus