Welcome To Snipplr


Everyone's Recent Python Snippets



1 ... 9 10 11 12 13 ... 18
Simple example of using Google's API for contacts to display the contact name and phone number. More info in the comments.
0 1316 posted 16 years ago by PhilK
**work in progress**
0 1865 posted 16 years ago by manatlan
1 1501 posted 16 years ago by laurenceosx
Needs the BeautifulSoup module.
0 856 posted 16 years ago by taec
1 2484 posted 16 years ago by nefd
Creates backups of "file.ext" in the form "file.Bx.ext", where Bx represents a sequential backup number from 1 (most recent) to 5 (oldest) Put the following symbolic links in your path ln -s path-to-this-file/age.py age ln -s path-to-...
0 1530 posted 16 years ago by SimonTite
method 'E' (in fact a decorator) catch the execption and return it, so it's possible to use the good old assert statement.
0 1366 posted 16 years ago by manatlan
0 1257 posted 16 years ago by manatlan
0 1294 posted 16 years ago by manatlan
0 1217 posted 16 years ago by snipplrpy
0 1057 posted 16 years ago by snipplrpy
1 1341 posted 16 years ago by wearetherock
Like Django.models, GAE.db.model or SqlAlchemy definitions
0 1619 posted 16 years ago by manatlan
1 1056 posted 16 years ago by xathin
I have not tried this out yet, but I hope it can convert IronPython types to and from json.
0 1542 posted 16 years ago by laurenceosx
1 1383 posted 16 years ago by gn66
0 1464 posted 16 years ago by vasilije
with focus() and center() methods
0 1257 posted 16 years ago by manatlan
0 1425 posted 16 years ago by wearetherock
0 1376 posted 16 years ago by wearetherock
0 1342 posted 16 years ago by manatlan
0 1932 posted 16 years ago by manatlan
1 ... 9 10 11 12 13 ... 18