GUI Tkinter PyQt5 Paraview

Hello,
I am new in Paraview and I really don’t know how I can integrate Tkinter or PyQt5 or another GUI, to get the path of a file in my Paraview Macro, when I chose the file. I look at the way from another topic, but I am too confused how I work with Qt Creator.
Can someone help me, please? It would be very nice.