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 869 posted 18 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 540 posted 18 years ago by daeken
ejemplo: python script.py algo sys.argv[0] es script.py sys.argv[1] es algo
0 701 posted 18 years ago by buscarini
1 845 posted 18 years ago by ndegruchy
New and improved regexp
3 912 posted 18 years ago by ndegruchy
warning: snipplr tends to escape the quotes and slashes, causing this snippet to fail when pasted verbatim.
2 1053 posted 18 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 713 posted 18 years ago by wsfulmer
1 ... 14 15 16 17 18 Next »