About 31,900,000 results
Open links in new tab
  1. How to create a window with Python - Stack Overflow

    Jan 4, 2017 · The tkinter module is probably the most common Python GUI method. To make a button: from tkinter import * tk = Tk() btn = Button(tk, text="a clickable button", command()) …

  2. Create Python GUI with Tkinter

    Jun 14, 2022 · These rectangular windows with buttons, icons and menus are an intuitive way to get things done. In this tutorial, we'll focus on building our own GUIs using Python and Tkinter. …

  3. Python Tkinter - GeeksforGeeks

    Dec 21, 2024 · To create a main window in Tkinter, we use the Tk() class. The syntax for creating a main window is as follows: root = tk.Tk(screenName=None, baseName=None, …

  4. PySimpleGUI: The Simple Way to Create a GUI With Python

    To create a Window(), you can do the following: Window() takes lots of different arguments—too many to be listed here. However, for this example you can give the Window() a title and a …

  5. Open a New Window with a Button in Python - Tkinter

    Apr 8, 2025 · In this guide, we will explore how to open a new window when a button is clicked using two approaches: Setting Up Tkinter. Tkinter comes pre-installed with Python. However, …

  6. Create First GUI Application using Python-Tkinter

    Aug 21, 2024 · To prototype a GUI with Tkinter, you can use the Tk() function to create a root window, and then use functions like Label, Button, and Entry to add widgets to the window and …

  7. How to make a window with buttons in python - Stack Overflow

    How do I create a function that makes a window with two buttons, where each button has a specified string and, if clicked on, returns a specified variable?

  8. How to Create a Desktop Application Using Python

    To create a desktop application, you need to learn the basics of Python, some object-oriented programming concepts, and the fundamentals of the Tkinter library. Tkinter is a GUI (Graphical …

  9. GUI Programming in Python

    Example of creating a GUI window: import tkinter win=tkinter.Tk() #creating the main window and storing the window object in 'win' win.geometry('500x200') #setting the size of the window …

  10. Python/Tkinter make a custom window - Stack Overflow

    Jun 24, 2012 · I want to make a window without the top taskbar (that is movable), so there is only thin outline around the GUI box. I also want to add my own 'X' to the box. def __init__(self, …

  11. Some results have been removed
Refresh