remove python button when python is disabled