use __name__ instead of func_name