Welcome To Snipplr


Everyone's Recent Snippets Tagged python



1 ... 10 11 12 13 14 Next »
0 319 posted 15 years ago by whitetiger
0 403 posted 15 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 249 posted 15 years ago by collin
This snippets try to download itself from http://snipplr.com using xml-rpc
6 362 posted 15 years ago by arcturus
0 225 posted 15 years ago by jacobian
0 310 posted 15 years ago by jacobian
Performance can be seen in link. This code, however, uses generator expression instead of list comprehension.
1 399 posted 15 years ago by newtonapple
Placing these inside a PyObjC class lets you access PyObjC instance variables starting with '_' without extra work while still allowing access to standard Python instance variables.
0 212 posted 15 years ago by daeken
1 292 posted 15 years ago by ndegruchy
New and improved regexp
3 339 posted 15 years ago by ndegruchy
warning: snipplr tends to escape the quotes and slashes, causing this snippet to fail when pasted verbatim.
2 397 posted 15 years ago by ndegruchy
This is a general purpose Zope script for your Plone product or Plone custom skin folder. It provides LinugaPlone translation of references, either incoming, outgoing, or both.
1 292 posted 15 years ago by wsfulmer
1 ... 10 11 12 13 14 Next »