In python2.7 it’s simple, just import the lib platform. But how can i see if my windows is 32 or 64 bits? I work with a system build in python2.2 and can’t find a way of do that 🙁
Any sugestions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
platformmodule source code is informative.Backported from there to determine the machine architecture on a Windows platform, it would use: