Note: Importing Tkinter as tk is not required but is good practice as it helps keep things consistent between version. To check the Tkinter version, type the following commands in your Python REPL: You have successfully installed Tkinter, if the above command executes without an error. ![]() Or import Tkinter as tk # for Python 2.x version To verify if you have successfully installed Tkinter, open your Python console and type the following command: import tkinter as tk # for Python 3 version Linux distros with yum installer can install tkinter module using the command: So if you install Python from the official binaries for Mac OS X or Windows platform, you are good to go with Tkinter.įor Debian versions of Linux you have to install it manually by using the following commands. mbox.showinfo(Download Compleated,Your File Successfully Downloaded). Tkinter comes pre-installed with the Python installer binaries for Mac OS X and the Windows platform. Contribute to vkpdeveloper/PDF-Downloader-GUI-Tkinter-Python development by.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |