Skip to main content

Posts

Showing posts matching the search for tkinter

What is Tkinter? how to create Desktop application using Python, Python GUI

  What is Tkinter? It is the GUI  Library of python which provides a graphical user interface to develop a desktop application using python. Tkinter is a light-weight open-source platform to develop products. Tkinter provides Widget to design form element(TextBox, Button, CheckBox, Radio, Window, Canvas, Multiple Window) How to write code for Tkinter? Tkinter by default integrates under Python Software Tools. How to create Window using Tkinter import tkinter as tk window = tk.Tk() How to add content on Windows? import tkinter as tk window = tk.Tk() txt = tk.Label(text="welcome in tkinter") txt.pack()   # it is used to bind label widget into window window.mainloop()  # it create event loop to handle event Label Widget:- It is used to write content on Windows, we can use a different attribute to change color and background-color label = tk.Label(     text="Hello, Tkinter",     foreground="white",  # Set the text color to white   ...

Python Introduction:-

Python is a high-level script-based language that contains the only interpreter to execute a python script. Script-based language means the language that will be executed by the  Interpreter. The interpreter will execute  the code line by lin e, Script-based language does not contain any separate compiler to convert the code. the compiler will be in-built under the interpreter. PHP,  PYTHON,  RUBY,  JS,  JQUERY,  ANGULAR,  NODE,  REACT all are script-based languages. Initially, a Python script was developed to create a device driver-based software system for the different operating systems. But now  Python is complete technology or platform which contain multiple library , framework, and support to create application softwar e. using Python script We can create the following application. 1 Desktop Application:-    This type of application will be installed separately on each machine. without using the internet this type ...