Tim a écrit : <zip> > Can I initialize something in Python that I can get access to it's > pointer?
No, there is no pointer in Python semantic (they exist behind the scene in C-Python). > How about: > > self.data = > TOTAL_OUTPUT_PARMETERS*[TOTAL_PARAMETER_ENTRIES*[c_float()] > > or > > self.data = TOTAL_OUTPUT_PARMETERS*[c_char_p("temp")] > > or > > self.data = [TOTAL_OUTPUT_PARMETERS*1.0]*TOTAL_PARAMETER_ENTRIES > > I need to be able to copy the contents of a pointer to shared memory > into an array of floats so I can index into that array and see my > data. I have a pointer to shared meory but I don't know how to access > it. See module ctypes (14.14 in library reference manual). A+ Laurent. -- http://mail.python.org/mailman/listinfo/python-list