Jul-17-2019, 05:16 AM
Try to do the following.
Give this a go, when you get stuck, please post a minimal code sample (in python code tags) for the specific part your stuck on, explain what you expect to happen and what is actually happening and any errors received in error tags.
- Create a Frame and a mainloop, test it works.
- Add a button to the frame, test it works.
- Add an event to the button, begin with a print to test it works.
- Add the call to the separate python script to the buttons event (depends what the script does how you go about this).
Give this a go, when you get stuck, please post a minimal code sample (in python code tags) for the specific part your stuck on, explain what you expect to happen and what is actually happening and any errors received in error tags.