Python - check if a system is 32 or 64 bit to determine whether to run the function or not? [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How do I determine if my python shell is executing in 32bit or 64bit mode? I made a question earlier that never got replied to, but I have something more specific now so hopefully you can help. Basically the SendKeys library only appears to install on my 32 bit system of Windows... So I was wondering if there is a way of making it so this function I am going to write will only execute on a 32 bit system? I