def printdebug(var): print "%s is %s" % (var,eval(var))

printdebug("a")

とかじゃだめ?