I've just started learning tkinter for python. I'm a little curious as to how tk runs on different platforms. From another thread on these forums, l leaned that tk talks to the kernel. The kernel talks to the device driver which talks to the hardware. (Please correct me if I'm wrong here). Now, if tkinter runs on systems which are as different as windows and linux which run on different kernels, how could it [tkinter] communicate with the kernel?

Recommended Answers

All 2 Replies

By having different code for each OS

??? How does that work?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.