Changes between Version 3 and Version 4 of Python API

Show
Ignore:
Timestamp:
09/20/13 14:56:00 (11 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python API

    v3 v4  
    4747The 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`: 
    4848{{{ 
    49 import numpy as np 
    50 import muscle 
     49import muscle, numpy as np 
    5150 
    5251data = np.zeros(100, np.int)