Posts by Cleyson Lima • 38 points
3 posts
-
0
votes1
answer615
viewsQ: How to recover the return of a function that was executed within a Thread in Python3?
I need to run a function through a Thread only I’m not sure how to recover the return of this function. Below an example of how I want to do: from threading import Thread import time def…
-
1
votes1
answer3266
viewsA: Why doesn’t Pycharm recognize the modules and classes created by the user?
Really this is a peculiarity of Pycharm, you need to inform Pychar that in the directory where your codes are there are also modules that can be imported. To do this just right-click on the folder…
-
1
votes0
answers258
viewsQ: Limiting the response time of a function
I did a script on python 3 that performs speed tests on my internet every 60 seconds and writes these results in a file .txt. Within this script I have a function called get_results which is the…