from functools import partial my_btn.clicked.connect(partial(my_func, my_int, my_str, my_second_int))