Nov-21-2018, 04:27 PM
Hi, I have just made the change from python2.7 to python3.5.3.
I am having trouble with following lines of code which works in python2, but not 3:
Thanks!
I am having trouble with following lines of code which works in python2, but not 3:
In [5]: from multiprocessing import sharedctypes In [6]: x = sharedctypes.RawArray('d', 10) In [7]: memoryview(x)[:] = array(zeros_like(arange(10.), dtype=float64))With python3 the error is:
Error:NotImplementedError: memoryview: unsupported format <d
Can somebody provide a hint on how this is done in python3?Thanks!