In [4]: print IPython.sys_info()
{'commit_hash': 'fb4a45e',
'commit_source': 'repository',
'default_encoding': 'cp850',
'ipython_path': 'c:\\dev\\code\\ipython\\IPython',
'os_name': 'nt',
'platform': 'Windows-7-6.1.7601-SP1',
'sys_executable': 'C:\\dev\\bin\\Python27\\python.exe',
'sys_platform': 'win32',
'sys_version': '2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]'}