Posts by Luiz Mendes • 49 points
4 posts
-
0
votes2
answers41
viewsQ: How to extract specific value from received message via Websocket?
I’m trying to extract the "balance" from a JSON. I would like to know how I can do this in a direct way, without receiving this complete message, which ends up being giant, but rather extract only…
-
1
votes0
answers14
viewsQ: Why does winsound.SND_ASYNC need time to play?
I’m writing a program in python, which at a certain point plays a sound. However, when playing the sound, I would like my program to continue running, so I used winsound.SND_ASYNC. In which my code…
pythonasked Luiz Mendes 49 -
-2
votes1
answer244
viewsQ: Parallel scripts using Threading - Python
I’m trying to run parallel scripts in Python, using the threading library, but I’m not being able to apply it to my case. I believe the problem is to receive my function, but even creating a list,…
-
2
votes1
answer83
viewsQ: How do I return a character from a string in the Python function with Websockets and json library?
I’m new to Python and I have a question I’ve been trying to figure out for a long time. I’m creating a tick analysis program from an investment site, and I want to extract the value of a certain…