michael ferraro wrote:
> The data is a simple unsigned char *

Thats just what NumPy's ArrayFromDimsAndData() (or something like that) 
expects. However, one issue is that if you don't copy the data, then 
it's hard to have Python manage the garbage collection, you need to 
figure out how (and when!) to free it yourself.

-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
                                                
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to