couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "GettingStartedWithPython" by JasonMoiron
Date Sat, 19 Apr 2008 06:04:44 GMT
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

Mime
View raw message