What about this as a possibility:
>>> numpy.intp(0).itemsize == 8
True
-Mark
On Tue, Oct 19, 2010 at 7:11 PM, Vincent Davis wrote:
> A little followup from the python list. I thought this was worth sharing
> here.
>
> Quoting Ned Deily, n...@acm.org
>
> "
> It looks better but ,
> unfortunately
A little followup from the python list. I thought this was worth sharing here.
Quoting Ned Deily, n...@acm.org
"
It looks better but ,
unfortunately, it doesn't work correctly on OS X
where a universal build can have both 32-bit and 64-bit executables in
the same file.
$ arch -x86_64 /usr/local/
On Tue, Oct 19, 2010 at 4:13 PM, Jonathan Rocher wrote:
> Hi,
>
> If you directly want to know if it is a 32 or 64 bits, you can also use
> import platform
> print platform.architecture()
>
> Best,
> Jonathan
>
> On Tue, Oct 19, 2010 at 5:09 PM, David Cournapeau
> wrote:
>>
>> On Wed, Oct 20, 201
Hi,
If you directly want to know if it is a 32 or 64 bits, you can also use
import platform
print platform.architecture()
Best,
Jonathan
On Tue, Oct 19, 2010 at 5:09 PM, David Cournapeau wrote:
> On Wed, Oct 20, 2010 at 6:54 AM, Vincent Davis
> wrote:
> > What is the best/good way to know what
On Wed, Oct 20, 2010 at 6:54 AM, Vincent Davis wrote:
> What is the best/good way to know what version of numpy is running (32
> or 64 bit).
import platform
print platform.machine()
> Showing my ignorance maybe but does it always match the python version
> that is running, which can be ask/teste
What is the best/good way to know what version of numpy is running (32
or 64 bit).
Showing my ignorance maybe but does it always match the python version
that is running, which can be ask/tested using sys.maxint?
--
Thanks
Vincent Davis
___
NumPy-Discus