Re: TKinter in Python - advanced notions

2023-06-22 Thread Diego Souza via Python-list
json > formatted widget specific information, lol.) > > I have felt that sense of lack with most of the UI modules I have tried > though. > > I don't know of a clear better python-only solution though that fits my > personal needs. > > So I have to lean toward impr

Re: Multithreading? How?

2023-05-12 Thread Diego Souza
request_from_MQTT(): >app_queue.put({"type": "get_status"}) ># How to get the status to return? >return current_status > > Should the app put the status on the same queue and should IoT waits for > a new message in the Queue? > >

RE: Asynchronous execution of synchronous functions

2022-09-26 Thread Diego Souza
https://docs.python.org/3/library/concurrent.futures.html#processpoolexecutor Keep in mind that Python's threads have a global interpreter lock (GIL) that prevents full parallelism. Processes work as expected, but require IPC and pickable objects in and out. -- Diego Souza Wespa Intelligent Systems Rio

Re: How to replace an instance method?

2022-09-21 Thread Diego Souza
which this would be acceptable is when you or your boss have an important presentation in the next hour, and you need a quick fix to make it work in order to demonstrate it. After the presentation is over and people have validated the functionality you should properly implement it. Keep It Si