Changes between Version 6 and Version 7 of Python API
- Timestamp:
- 09/20/13 15:01:23 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python API
v6 v7 38 38 muscle.severe(msg) 39 39 }}} 40 These functions behave just like their [wiki:"C++ API" C++ counterparts], except `init`, `send` and `receive`. For `init`, first run `import sys` and then `muscle.init(sys.argv)`. Send will accept a sequence of objects, given a muscle datatype. The following datatypes are recognized:40 These functions behave just like their [wiki:"C++ API" C++ counterparts], except `init`, `send` and `receive`. For `init`, first run `import sys` and then `muscle.init(sys.argv)`. Send will accept a sequence of objects, given a MUSCLE datatype. Receive will create a list of objects. The following datatypes are recognized: 41 41 ||= Object ||= Python data type ||= C data type || 42 42 || muscle.int || sequence of `int` || 32-bit `int` ||