mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 14:59:39 +00:00
11 lines
196 B
Python
11 lines
196 B
Python
import tkinter
|
|
import _tkinter
|
|
|
|
header = _tkinter.TK_VERSION
|
|
lib = tkinter.Tk().getvar('tk_version')
|
|
|
|
if lib != header:
|
|
print('header version=' + header)
|
|
print('lib version=' + lib)
|
|
exit(1)
|