Changes between Version 5 and Version 6 of Python API
- Timestamp:
- 09/20/13 15:00:18 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python API
v5 v6 47 47 || muscle.raw || `bytearray` || `char *` || 48 48 || muscle.string || `str` || `const char *` || 49 The first five data types take any sequence, as long as the Python datatype that is contained matches. In some cases, it may be necessary to recreate a NumPy array so that the canonical Python datatypes are used. For example, with `int`:49 The first five data types take any sequence, as long as the datatype that it contains matches the canonical Python data type. In some cases, like with "NumPy", it may be necessary to recreate the with the canonical Python datatype. For example, with `int`: 50 50 {{{ 51 51 import muscle, numpy as np