[sorry is half a post appeared earlier. Bloody Google groups...]
Hello,
I'm trying to use a numpy array in C++ (win2000) using boost.python.
Test code:
void test( numeric::array& nsP)
{
object shape = nsP.getshape();
int rows = extract(shape[0]);
int cols = extract(shape[1]);
}
At firs
Hello all,
I'm pretty new to Python, but use it a lot lately. I'm getting a crazy
error trying to do operations on a string list after importing numpy.
Minimal example:
[start Python]
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright",
On 23 mei, 09:12, Marc Oldenhof <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'm pretty new to Python, but use it a lot lately. I'm getting a crazy
> error trying to do operations on a string list after importing numpy.
> Minimal example:
>
> [start Python]
>
On 23 mei, 09:12, Marc Oldenhof <[EMAIL PROTECTED]> wrote:
Thanks for the reactions, I'll use the "from numpy import " from now on :)
Marc
--
http://mail.python.org/mailman/listinfo/python-list