Python Forum
Windows GUI with push buttons to launch python scripts
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows GUI with push buttons to launch python scripts
#8
As stated in the other similar thread

(Jul-17-2019, 05:16 AM)Yoriz Wrote: Try to do the following.
  1. Create a Frame and a mainloop, test it works.
  2. Add a button to the frame, test it works.
  3. Add an event to the button, begin with a print to test it works.
  4. 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.
Reply


Messages In This Thread
RE: Windows GUI with push buttons to launch python scripts - by Yoriz - Jul-17-2019, 05:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter - touchscreen, push the button like click the mouse John64 5 998 Jan-06-2024, 03:45 PM
Last Post: deanhystad
  Centering and adding a push button to a grid window, TKinter Edward_ 15 5,466 May-25-2023, 07:37 PM
Last Post: deanhystad
  [PyQt] Push Button issue gvin47 8 4,476 Apr-18-2020, 05:39 PM
Last Post: deanhystad
  Nesting menu buttons tkinter for python Mocap 1 2,781 Jul-18-2019, 11:46 AM
Last Post: metulburr
  Using tkinter on Windows to launch python 3 scripts Mocap 1 2,797 Jul-17-2019, 05:16 AM
Last Post: Yoriz
  Text after push button chano 13 5,600 Jul-05-2019, 03:10 PM
Last Post: Yoriz
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 2,888 Apr-06-2019, 11:15 PM
Last Post: ZenWoR
  [PyQt] Close program using Push Button with the help of input from a Message Box bhargavbn 2 6,785 Oct-30-2018, 05:09 AM
Last Post: bhargavbn
  [Tkinter] Aligning Python Tkinter Buttons In Rows TollyThaWally 3 8,109 Feb-22-2018, 02:56 AM
Last Post: woooee
  Multi windows in tkinter buttons not responding correctly curtjohn86 13 11,794 Jul-01-2017, 03:42 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020