Translates text using Google translation service
12
A simple demo of the google maps API
11
If a visitor comes to your site from a search engine such as Google or Yahoo, this function will highlight the keywords in a given text the user used for his search.
10
This is snippet of code solves the interesting (and specialized) problem of generating all permutations of a list. I hope you like recursion.
For exmaple:
permute( [0,1,2] )
would return
[[0,1,2],[0,2,1],[1,0,2],[1,2,0],[2,0,1],[2,1,0]]
For exmaple:permute( [0,1,2] )
would return
[[0,1,2],[0,2,1],[1,0,2],[1,2,0],[2,0,1],[2,1,0]]
9
Returns a safe copy if the value argument is mutable, otherwise returns the original argument. If the feedback keyword argument is True, then a tuple is returned containing the resulting argument, and whether or not is was mutable.
9
Reads well formed RSS entries using standard python libraries
9
Quick way to get the users home directory in Unix/Linux and Windows
9
This python class converts a permission mask in symbolic format (the kind a diretcory listing produces, ex.: drwxr-xr-x) to a string that's usable in a chmod command.
ex.: chmod u=rwx,g=rwx,o=rwtx ~/myscripts/convert_mask.py
This can be very useful when recovering permissions from a backup.
ex.: chmod u=rwx,g=rwx,o=rwtx ~/myscripts/convert_mask.py
This can be very useful when recovering permissions from a backup.
9
Python example set-up script from python.org docs.
8
This class allows you to retrieve a companies current stock quote from Yahoo Finance, as well as current news feed entries for that company.
8
Copies files from nested folders into one source, flat directory.









