Welcome To Snipplr


Everyone's Recent Python Snippets



1 ... 14 15 16 17 18 Next »
Performance can be seen in link. This code, however, uses generator expression instead of list comprehension.
1 1179 posted 19 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 781 posted 19 years ago by daeken
ejemplo: python script.py algo sys.argv[0] es script.py sys.argv[1] es algo
0 1019 posted 19 years ago by buscarini
1 1145 posted 19 years ago by ndegruchy
New and improved regexp
3 1267 posted 19 years ago by ndegruchy
warning: snipplr tends to escape the quotes and slashes, causing this snippet to fail when pasted verbatim.
2 1399 posted 19 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 1001 posted 19 years ago by wsfulmer
1 ... 14 15 16 17 18 Next »