I need a way to tell what mode the shell is in from within the shell.
While I\'m primarily an OS X user, I\'d be interested in knowing about other platforms as well.<
On my Centos Linux system I did the following: 1) Started the Python interpreter (I'm using 2.6.6) 2) Ran the following code:
import platform print(platform.architecture())
and it gave me
(64bit, 'ELF')