Sep-21-2021, 05:19 AM
(Sep-20-2021, 03:32 PM)deanhystad Wrote: What you are writing is more interesting than how. Is pbuffer really going to be an array or list of short? Python supports short so it can talk to C, but it is not a commonly used datatype. Python really wants all numbers to be float or int. How are you getting pBuffer? And who will be using the output? Are there external requirements on the file format?
As jefsummers said, Python is not C. It is very unlikely that you will get good results thinking of this as C->Python translation. What is the problem you are trying to solve?
pbuffer has filled with signed int values i want to fill data to two dimensional array in python