El dj 14 de 09 del 2006 a les 18:20 -0700, en/na Sebastian Haase va escriure:
> Especially I'm asking if there is any way to get the memory address of an > array - for debugging purposes only - of course ;-) For this, you can print the data buffer: In [1]:import numpy In [2]:a=numpy.array([1]) In [3]:a.data Out[3]:<read-write buffer for 0x82a9970, ptr 0x821f630, size 4 at 0xb6dd3300> although I'm not sure which number is the memory address I'd say it's the last one. Cheers, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion