Detecting platform architecture with Parallels and Win XP x64

D

Doug McCorkle

Hello,

I am using Python 2.5.4 on Windows XP x64 with Parallels. When I try
to use:

distutils.util.get_platform
sys.platform

I always get win32 but if I use:

platform.architecture()

with the amd64 installer I get 64bit for the first argument. Is there
a way to detect win64 without having to use the python executable to
see if the application is on a 64bit architecture? Thanks.

Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top