Python under Linux, Mac OS X and FreeBSD Tells Differently

It is interesting: under Linux and Mac OS X running on x64 computers, Python 2.7 tells the machine is ‘x64_64′; whereas under FreeBSD, Python 2.7 tells ‘amd64′. You can try:
import platform
platform.machine()

Advertisement

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.