[Python-ideas] os.architecture

Chris Angelico rosuav at gmail.com
Sun Dec 29 13:15:10 CET 2013


On Sun, Dec 29, 2013 at 10:28 PM, anatoly techtonik <techtonik at gmail.com> wrote:
> if os.architecture == 32:
>   download('http://www.libsdl.org/release/SDL2-2.0.1-win32-x86.zip')
> else:
>   download('http://www.libsdl.org/release/SDL2-2.0.1-win32-x64.zip')
>

Could you get that info from platform.uname()[4]?

ChrisA


More information about the Python-ideas mailing list