~/Documents/SWIG/plist-test$ PYTHONPATH=build/lib.darwin-8.2.0-Power_Macintosh-2.3/ python Python 2.3.5 (#1, Mar 20 2005, 20:38:20) [GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import example >>> p = [1, -2.2, [3, "4"], (5, 6, 7), {"abcd":8, "efgh":9}] >>> example.show(p) {type = immutable, count = 5, values = ( 0 : {value = +1, type = kCFNumberSInt32Type} 1 : {value = -2.20000000000000017764, type = kCFNumberFloat64Type} 2 : {type = immutable, count = 2, values = ( 0 : {value = +3, type = kCFNumberSInt32Type} 1 : {contents = "4"} )} 3 : {type = immutable, count = 3, values = ( 0 : {value = +5, type = kCFNumberSInt32Type} 1 : {value = +6, type = kCFNumberSInt32Type} 2 : {value = +7, type = kCFNumberSInt32Type} )} 4 : {type = immutable, count = 2, capacity = 2, pairs = ( 0 : {contents = "abcd"} = {value = +8, type = kCFNumberSInt32Type} 1 : {contents = "efgh"} = {value = +9, type = kCFNumberSInt32Type} )} )} >>> example.noop(p) [1, -2.2000000000000002, [3, '4'], [5, 6, 7], {'abcd': 8, 'efgh': 9}] >>> print example.xml(p) 1 -2.2000000000000002 3 4 5 6 7 abcd 8 efgh 9 >>> ^D ~/Documents/SWIG/plist-test$