https://github.com/terrabits/tkinter-multiprocessing-example
Example python application with main process tkinter GUI and second worker process.
https://github.com/terrabits/tkinter-multiprocessing-example
Last synced: 8 months ago
JSON representation
Example python application with main process tkinter GUI and second worker process.
- Host: GitHub
- URL: https://github.com/terrabits/tkinter-multiprocessing-example
- Owner: Terrabits
- Created: 2019-01-23T20:32:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-23T20:32:15.000Z (over 7 years ago)
- Last Synced: 2025-09-07T01:34:48.788Z (9 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://stackoverflow.com/questions/52529403/button-text-of-tkinter-not-works-in-mojave)