Maintaining Cross-Platform Compatibility

Your application is being requested throughout the lab as a way to visualize and work on experimental data files. As a result, it now needs to run on the Windows, macOS, and Linux systems equally well. Fortunately for you, Python and Tkinter are supported on the three main operating systems, and you'll be pleasantly surprised to find that it runs unaltered on all three. However, there are some small issues that you need to address and remain aware of for your application to be a good citizen on each platform.

In this chapter, we'll cover the following topics:

  • Learning to write cross-platform Python that works across Windows, macOs, and Linux
  • Learning how to write Tkinter code that works consistently ...

Get Python GUI Programming with Tkinter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.