Skip to content

Example python application with main process tkinter GUI and second worker process.

Notifications You must be signed in to change notification settings

Terrabits/tkinter-multiprocessing-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

TKInter Multiprocessing Example

This is a simple example of a python application with a tkinter GUI in a main process that spawns a "worker" process. The worker process periodically communicates with the main process via a multiprocess.Queue. multiprocess.Value is used as well for setting a bool value that indicates whether or not the second process should stop.

Requirements

  • Python 3 (for tkinter.scrolledtext reference)

Issues

I noticed that text and certain features would sometimes be missing from the GUI on my system (MacOS Mojave 10.14.2, Python 3.7.0 installed via pyenv). Sometimes resizing the window solved the problem; sometimes it did not.

I am not the only one:

Stack Overflow - button text of tkinter not works in mojave

About

Example python application with main process tkinter GUI and second worker process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages