All Questions
16,164
questions
0
votes
1
answer
49
views
My python chat server does not send messages properly
When sending a message for the send time from the client it is not sent to the other client.
I'm fairly new to Python and sockets. some of the commented off code has been code I've tried but has not ...
0
votes
0
answers
19
views
A seemingly stopped HTTP service continues to work
I wrote a python function, detailed in another post, which communicates with an HTTP-based RumbleDB server, running on my local machine, in order to evaluate JSONiq queries.
I tested the function in a ...
0
votes
1
answer
15
views
Pywin32 Windows Service Script Not Connecting with Main Function and Service Unable To Finish Starting?
I'm working on a python app that, among other things, works to block common RCA applications. Because I want it to be able to run on start up and in the background, I figured the best way was to make ...
0
votes
0
answers
11
views
dill: how to skip ctypes pointers
I need to dump and load my object which includes objects from third party modules over which I have no control. These objects contain ctypes pointers that dill (pickle) cannot save:
ValueError: ctypes ...
0
votes
1
answer
35
views
Python - Clear and Print to Same Line for Multiple Lines on Command Prompt
I want to clear and update the same lines on command prompt for each file it processes with Python.
First I tried using ANSI codes using sys.stdout.write('\033[F\033[F\033[F') and sys.stdout.write('\...
0
votes
0
answers
17
views
windows python app ignore signal handler and close immediately on any signal
I have two simple python3.11.6 scripts.
One is just printing PID and waiting for signal
Second one is trying to send some signal. For example SIGINT into first script.
First script should just print ...
0
votes
0
answers
13
views
Pywifi Unable to Pull Authentication Method
The company I work for has an old wifi-scanner application written in VBScript that utilizes a lot of deprecated features that will cause it to stop functioning when we roll out Windows 11 ...
-1
votes
0
answers
44
views
How can you change the color of a pixel on your live display using Python? [duplicate]
I'm currently deep into GPU coding and I'm facing a unique challenge. I need to find a way to dynamically alter the color of individual pixels directly on my display monitor using Python. This isn't ...
-1
votes
0
answers
19
views
Chromium Embedded Framework bindings not loading pak files
I installed CEF Python (bindings for the Chromium Embedded Framework) in a virtual environment with Python 3.9.13, then upgraded pip and installed cefpython3 and PyInstaller, but it doesn't work.
When ...
0
votes
0
answers
16
views
Windows "Access Denied" Error When Running any Modules
I am getting am "Access is Denied" error in Windows when trying to pip install or access any of my pip installed modules. I am able to install modules with python -m pip install but then I ...
0
votes
0
answers
15
views
pywin32 (4096, Microsoft Outlook, access route doesn't exist)
I created an application from Python using Nuitka, and when running a distribution in a different PC the function of sending emails with an attachment is not working using pywin32. The following ...
0
votes
0
answers
20
views
Uncheck "Allow the computer to turn off this device to save power" programatically in Windows 11
I have several computers with cameras connected to them via USB. I figured that after more than 30 hours of utilization, the cameras would disconnect from the computer. The reason seem to be related ...
-2
votes
0
answers
22
views
How to Retrieve Full Text from Another Open Window Using Python Without OCR?
I'm working on a Python project where I need to programmatically retrieve the full text content of another open window on my Windows machine. I need to avoid using screen capture followed by OCR ...
0
votes
0
answers
21
views
Windows service from python executable file doesn`t respond
For a week now, I've been trying to get a Windows service to work that I create from an exe file created by pyinstaller. This is a telegram bot.
But I keep getting error 1053. I have tried several ...
0
votes
2
answers
57
views
why are same Python imports on Windows so slow compared to Linux? (Ubuntu)
I am building a large Python app, and once starting it from console as
python main.py
it wouldn't take too long for application to start up on my Ubuntu 22.04 OS. Everything was good, and then I ...