[Python] How do I determine if my python shell is executing in 32bit or 64bit?

Discussão em 'Python' iniciado por Stack, Abril 19, 2025.

  1. Stack

    Stack Membro Participativo

    How can I tell what mode the shell is in, from within the shell?

    I've tried looking at the platform module, but it seems only to tell you about "the bit architecture and the linkage format used for the executable". My binary is compiled as 64bit (I'm running on OS X 10.6), so it seems to always report 64bit even though I'm using the methods described here to force 32bit mode.

    Continue reading...

Compartilhe esta Página