Checking if Python is 32-bit or 64-bit version

I keep forgetting this one, but it comes in really handy to track versions. It was especially handy 2 days ago, when the Orange installation silently overwrote my 64-bit Python with a 32-bit version. Sigh.

import platform
platform.architecture
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: