I am very much a novice at Python.
I am running a Tkinter GUI on Windows 7 and Windows 10. I have a subprocess running a data logger routine at 1 KHz. I would like to set a cpu affinity for the subprocess,
I am building with Python 3.8.
You can use the psutil library. This answer should help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With