def get_binary_name():
 return os.path.basename(inspect.stack()[(-1)][1])[:16]

def get_binary_name ( ) : return os . path . basename ( inspect . stack ( ) [ ( - 1 ) ] [ 1 ] ) [ : 16 ]
grab the name of the binary were running in .