0

Is there any way that I can link two programs to each other in python. basically I want the program to jump to another program when a button is clicked so that it can all be integrated into one application. Is there any way to do this?

  • Does this help? http://stackoverflow.com/questions/89228/calling-an-external-command-in-python – Paul Butcher Jun 18 '15 at 12:30
  • Is the other "program" written in python? If so, you might be able to import its modules and create its objects. What GUI library are you using? – o11c Jun 21 '15 at 06:30

1 Answers1

0

If you are using PyQt, you can use signals and slots to define a callback function when a certain button is clicked.

You can hide the Ui of the current program and display the Ui of the other program, when the button is clicked.

xennygrimmato
  • 2,646
  • 7
  • 25
  • 47