Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Tcl/Tk in Python?

Tags:

Tcl and Tk in their version 8.6 have been out now for about six weeks. However, the files that can be downloaded from Tcl have a different folder structure and lack some files such as tk85.lib (or tk86.lib now) compared to the Tcl folder in Python.

My question is: How can Tcl and Tk be updated to 8.6 in Python (including the integration into Tkinter)?

The Python version is 2.7 and the operating system is Windows 7.

like image 325
Michael Westwort Avatar asked Feb 06 '13 23:02

Michael Westwort


People also ask

Does Python 3.8 have Tkinter?

And finally import tkinter: from tkinter import * . Show activity on this post. Tkinter works just fine on Python 3.8.

What does Tk () do in Python?

Tkinter is a Python package which comes with many functions and methods that can be used to create an application. In order to create a tkinter application, we generally create an instance of tkinter frame, i.e., Tk(). It helps to display the root window and manages all the other components of the tkinter application.

What are TCL TK and Tkinter in Python?

Tkinter is the Python interface to Tk, which is the GUI toolkit for Tcl/Tk. Tcl (pronounced as tickle) is a scripting language often used in testing, prototyping, and GUI development. Tk is an open-source, cross-platform widget toolkit used by many different programming languages to build GUI programs.


1 Answers

I'm thinking you should report a bug and hope the next 2.7 release will

  1. Exist

  2. Be linked against the new version of Tk

(Assuming you have any real reason to want the new version in the first place, that is.)

like image 99
SamB Avatar answered Sep 20 '22 16:09

SamB