Skip to main content
Post Made Community Wiki by Ilmari Karonen
Source Link
user344
user344

Python (win32)

68 characters

>>> import sys;print str.upper(sys.executable[12])+sys.executable[13:18]
'Python'

41 characters

>>> print __import__('sys').executable[12:18]
'python'