About 948,000 results
Open links in new tab
  1. python - How to create a multiline entry with tkinter ... - Stack Overflow

    Mar 12, 2012 · You could use the Text widget: from tkinter import * root = Tk() text = Text(root) text.pack() root.mainloop() Or with scrolling bars using ScrolledText: from tkinter import * from tkinter.scrolledtext import ScrolledText root = Tk() ScrolledText(root).pack() root.mainloop()

  2. How to create a multiline entry with Tkinter? - GeeksforGeeks

    Mar 16, 2021 · Therefore, to create a Multiline entry text in tkinter there are a number of ways. Methods to create multiline entry with tkinter: Method 1: Using Tkinter Text Widget. A text widget provides a multi-line text area for the user. The text widget …

  3. tkinter - Multiple line text entry box in python - Stack Overflow

    It is an old question but currently following is a very good method for scrollable multiline text entry: ScrolledText(mainwin, width=50, height=5).pack() Full program: from tkinter import * from tkinter.scrolledtext import ScrolledText mainwin = Tk() ScrolledText(mainwin, width=50, height=5).pack() mainwin.mainloop()

  4. How to Get the Input From Tkinter Text Box? - GeeksforGeeks

    Apr 1, 2025 · Create a Text widget for multi-line input. Create a Button widget that triggers text retrieval. Implement a function to get text from the Text widget and display it using a Label. Example: In this example, we will see a simple Tkinter application that allows users to input text into a multi-line textbox. When the user clicks the “Print ...

  5. python - Using Multiple input windows in Tkinter - Stack Overflow

    Sep 10, 2018 · I'm trying to create multiple input windows, but when I finish answering the questions, I get an error. import tkinter from tkinter import ttk window2 = False #-----ACTION 2----- def ac...

  6. Python Tkinter GUI program for multi line text entery box by

    Tkinter Text style & to read input & display text on click event of button by get() & set() methods

  7. Python Tkinter – Entry Widget - GeeksforGeeks

    Aug 21, 2024 · The Tkinter Entry widget is a simple input field in Python that lets users type or edit text. By default, it starts empty unless given an initial value. Adding default text improves user experience by acting as a hint, pre-filling known details and reducing repetitive typing in forms.

  8. Create Feature-Rich Tkinter Text Boxes for Python GUIs

    The Text widget lets you add interactive, multline text boxes to your Tkinter UIs for accepting user input and displaying textual output. Text boxes are a must for many types of GUI apps including text editors, data entry forms, chat bots, interactive shells and more.

  9. How to Take User Input and Store It in a Variable Using Python Tkinter?

    Feb 7, 2025 · In this tutorial, I will explain how to take user input and store it in a variable using Python Tkinter. Recently someone asked me how to collect user details like name, address, and email in a Tkinter application and save them to a database. I will share the solution I found during research and provide a step-by-step guide with examples.

  10. Using values from multiple entry box in tkinter - Python Help ...

    Nov 6, 2022 · I’m trying to do a project with Tkinter, This program should be able to create new table in mysql. I want to create table-like entry boxes, I did it with a for loop, but I’m not sure how to obtain data that the user enters in that.

  11. Some results have been removed