Posts by Cloves Oliveira • 32 points
3 posts
-
-1
votes1
answer1219
viewsA: Can you run two loops at the same time in python?
You can use threads. Their use allows you to parallelize tasks in your program. If you use this solution, if there is a variable that is modified by more than one thread, I recommend that you create…
python-3.xanswered Cloves Oliveira 32 -
0
votes1
answer95
viewsA: Problem with JSON - Python3.4
As far as I can tell, all you have to do is use the method .Decode to convert bytes to Unicode. See if you can do this conversion as follows: import json json.dumps(resp['data'].decode('utf-8'))…
-
1
votes1
answer36
viewsA: Error while doing Reverse:
If you observe, the second line is already ordered inversely. So it appears that nothing happened.
pythonanswered Cloves Oliveira 32