determine 32 or 64 bit architecture with python 2.2

John Machin sjmachin at lexicon.net
Tue Jun 19 08:28:44 EDT 2007


On Jun 19, 9:17 pm, Kai Rosenthal <kairosent... at tiscali.de> wrote:
> Hello,
> how can I determine the architecture (32 or 64bit) with python 2.2 on
> Windows or Unix (AIX, Solaris) OS, without the modul platform?
> Thanks for your hints, Kai

What happens when you fire up a 64-bit Python and type
    import sys; sys.maxint
at it?




More information about the Python-list mailing list