#!/usr/local/bin/python2 class C(object): a = __class__.__name__ print C.a