Re: Numpy problem: Arrays in a list of dictionaries

2007-04-23 Thread ZMY
Dear Robert, So how should I do this? I tried >>>> d1 = {1: array([2, 3, 4]).copy(), 2: ''} >>>> l1 = [] >>>> for i in range(3): l1.append(d1.copy()) and it still doesn't work. I think my problem is: how to create a new array every time I

Does Numpy work on QNX 4.25 with Python 2.2?

2007-03-26 Thread ZMY
I am trying to convert some old Fortran code into Python program and get them work on a QNX 4.25 system. Since the program requires speed, I think using Numpy is really necessary. But I haven't found anything on web about using numpy on QNX 4.25 (especially the for python version 2.2). Do any of y

python installation destination directory

2007-04-02 Thread ZMY
u know what the problem is? Thanks a lot in advance. - ZMY -- http://mail.python.org/mailman/listinfo/python-list

Numeric compiling problem under QNX 4.25

2007-04-02 Thread ZMY
.o So it looks that ld got all files before linking them - or is it?? Thanks a lot for any suggestions, - ZMY -- http://mail.python.org/mailman/listinfo/python-list

Re: Numeric compiling problem under QNX 4.25

2007-04-03 Thread ZMY
On Apr 3, 10:22 am, Robert Kern <[EMAIL PROTECTED]> wrote: > ZMY wrote: > > Dear all, > > > I am a real newbie for both python and QNX, but I am still trying to > > compile Numeric-24.2 under QNX4.25 with python 2.2. I got following > > error message:

Re: python installation destination directory

2007-04-03 Thread ZMY
On Apr 3, 6:26 am, "Kushal Kumaran" <[EMAIL PROTECTED]> wrote: > On Apr 3, 9:33 am, "ZMY" <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > I am installing python 2.2 on QNX4.25 but can't get it into /usr/local/ > > bin/ d

Re: Numeric compiling problem under QNX 4.25

2007-04-03 Thread ZMY
On Apr 3, 10:51 am, Robert Kern <[EMAIL PROTECTED]> wrote: > ZMY wrote: > > Is "ld" part of make command? I am not familiar with compiling with > > make in general. > > No, it's the linker. I takes the object files (.o) which are generated by the > com

Re: Numeric compiling problem under QNX 4.25

2007-04-03 Thread ZMY
On Apr 3, 1:33 pm, "ZMY" <[EMAIL PROTECTED]> wrote: > On Apr 3, 10:51 am, Robert Kern <[EMAIL PROTECTED]> wrote: > > > > >ZMYwrote: > > > Is "ld" part of make command? I am not familiar with compiling with > > > make in general

Re: Numeric compiling problem under QNX 4.25

2007-04-04 Thread ZMY
On Apr 3, 2:52 pm, Robert Kern <[EMAIL PROTECTED]> wrote: > ZMY wrote: > > On Apr 3, 10:51 am, Robert Kern <[EMAIL PROTECTED]> wrote: > >> ZMY wrote: > >>> Is "ld" part of make command? I am not familiar with compiling with > >>> mak

Numpy problem: Arrays in a list of dictionaries

2007-04-17 Thread ZMY
gt;> list1[0][2]='Jack' >>> list1 [{1: array([ 2, 100, 4]), 2: 'Jack'}, {1: array([ 2, 100, 4]), 2: ''}, {1: array([ 2, 100, 4]), 2: ''}] So the strings can be assigned seperately but arrays can not. What is the problem here? I am using python2.4+Numpy1.0.1 on Fedora Thanks a lot in advance. - ZMY -- http://mail.python.org/mailman/listinfo/python-list