Python Forum

Full Version: enter from py exported by pyqt5 designer to another py file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I have difficulty entering a py, which I had exported from pyqt5 designer with the name "program.py", using another py with name "programa.py".
Look at the code, please.
program.py
You can execute it, but delete the lines that import the icon.
programa.py
In
self.actionImprimir.triggered.connect(self.helpo)
in this code it makes reference that when I press the button that is related to the other, I execute an impression with the name of:

    def helpo(self,s):
        """"""
        print("hola",s)