Python Forum
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Standlone Tkinter cxFreeze
#1
Hi,

I would like to make a standalone-exe with Cx-Freeze for a basic Tkinter-GUI ("Hello World"):

import tkinter as tk

class Window(tk.Tk):
    def __init__(self):
        super().__init__()
        self.title("Hello Tkinter")

        label = tk.Label(self, text="Hello World!")
        label.pack(fill=tk.BOTH, expand=1, padx=100, pady=50)


if __name__ == "__main__":
    window = Window()
    window.mainloop()


Could someone help with the setup.py to make a standaloneexe?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Build project with cxfreeze Kolterdyx 2 3,121 Jun-14-2020, 04:30 PM
Last Post: Kolterdyx

Forum Jump:

User Panel Messages

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