You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/04/19 08:04:44 UTC
[Couchdb Wiki] Trivial Update of "GettingStartedWithPython" by JasonMoiron
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The following page has been changed by JasonMoiron:
http://wiki.apache.org/couchdb/GettingStartedWithPython
The comment on the change is:
add highlighting to code samples
------------------------------------------------------------------------------
Demonstration of basic API-interaction using Python.
- {{{
+ {{{#!python
#! /usr/bin/python2.4
import httplib, simplejson # http://cheeseshop.python.org/pypi/simplejson
@@ -125, +125 @@
== Usage Example ==
- {{{
+ {{{#!python
def test():
foo = Couch('localhost', '5984')
@@ -180, +180 @@
== Sample Output ==
- {{{
+ {{{#!java
Create database 'mydb':
{
"ok": true