python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Getting the instance handle of a window in python (ctypes)
I've been trying to create a simple window using win32api but in python using the ctypes lib.
Now the first thing i need is the programs console windows instance handle.
For getting that i need to get...
David Marshal
Votes: 0
Answers: 1
Is Python list slicing thread safe?
Coming from Are lists thread-safe?, I need to know if specifically list slicing is thread safe. It's not clear to me from the linked article What kinds of global value mutation are thread-safe?.
Base...
Intrastellar Explorer
Votes: 0
Answers: 1
20% faster with unused variable? Why?
I'm doing a lot of benchmarks. I've never seen something like this. I'm stumped. Creating an extra global variable, not used at all, makes part of my code about 20% faster. Why?
I'm benchmarking a fun...
Pychopath
Votes: 0
Answers: 0
Python/Jupyter doesn't recognize cpython-39-darwin.so files
I'm trying to import modules ending in cpython-39-darwin.so and python doesn't recognize them. When I remove cpython-39-darwin and just leave .so, my program can recognize them, but then it raises an ...
Jane Downer
Votes: 0
Answers: 0