uinput python code example
Example 1: input python
name = input("Enter your name: ")
#Printing the variable (name)
print("hello",name)
Example 2: python gui capture user input
import tkinter as tk
from tkinter import simpledialog
ROOT = tk.Tk()
ROOT.withdraw()
# the input dialog
USER_INP = simpledialog.askstring(title="Test",
prompt="What's your Name?:")
# check it out
print("Hello", USER_INP)