[EMAIL PROTECTED] wrote: > >What if this is connected: > >>>> D >array([[1, 2, 3], > [4, 5, 6], > [6, 7, 8]]) >>>> E >array([[6, 7, 8], > [0, 0, 0], > [0, 0, 0]]) > >--> > >>>> D >array([[1, 2, 3], > [4, 5, 6], > [6, 7, 8]]) >>>> E >array([[6, 7, 8], > [0, 0, 0], > [0, 0, 0]]) >>>> numpy.rot90( D ) >array([[3, 6, 8], > [2, 5, 7], > [1, 4, 6]]) >--> >>>> E >array([[1, 4, 6], > [0, 0, 0], > [0, 0, 0]]) > >?
If you don't want changes to D to affect E, then you need to disconnect them when you create them. If you create D and E so that they contain references to the same lists, then this kind of thing will happen. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list