Sample to use Python + mongo
1. install the pre-requisites (on macs/linux)
$easy_install pymongo
2. start python
$python
>>> import pymongo
>>> connection = pymongo.Connection("localhost")
>>> db=connection.test
>>> print db.mycoll.count()
and you are free to write python code using mongoDB.