Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
70 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 ...
BoneheadBreaker's user avatar
0 votes
1 answer
44 views

Python "r+" mode reads nothing after writing with Pickle library

I have a file that I want to read a list from and then write an updated list to it by using the pickle library. But after that it reads nothing from the file. I have tried using other people's ...
MitchelK's user avatar
0 votes
0 answers
13 views

Proxy rejects localhost on Windows Server

I am running Selenium for Python (miniconda) on a Windows 10 VM. When selenium starts up, it starts a server at http://localhost/ . However, it needs to connect to the public internet through a proxy ...
Steve Scott's user avatar
  • 1,509
0 votes
1 answer
79 views

Fatal error in launcher: Unable to create process using 'python.exe' and 'pip.exe'

I am encountering an issue while trying to use pip to install packages in Python on Windows. Whenever I run pip install package_name or any pip command, I get the following error message: Fatal error ...
HIMANSHU RAI 44's user avatar
0 votes
0 answers
17 views

Envs Directories on Anaconda

I installed anaconda on D-drive, but it does have its folders in C drive in these locations - inside C:\Users\grelnob\.conda and C:\Users\grelnob\AppData\Local\conda Here is the location of the envs ...
CuriousMind's user avatar
1 vote
3 answers
78 views

How do I make sure that something is in Path on Github Actions?

I'm having trouble with my GitHub Action to test a Python module on Windows. To test the module, I need to install ffmpeg and make sure that it's on Path but no matter what I do in the workflow file ...
Alarm-1202's user avatar
1 vote
1 answer
50 views

How to Enumerate Threads using CreateToolhelp32Snapshot and Python ctypes?

This seems like it should print the thread ID of the first thread in the snapshot, but it always prints 0. What is wrong with it? The following assumes that process ID 1234 is a real, running process. ...
Utkonos's user avatar
  • 743
1 vote
1 answer
30 views

Create Process in Debug Using Python ctypes

The following code is supposed to start a new process calc.exe in debug mode. However, it fails with the code 2 or ERROR_FILE_NOT_FOUND. However, this file calc.exe does exist on the system. What ...
Utkonos's user avatar
  • 743
0 votes
0 answers
27 views

cannot install PyQt6 on python 32 bits

I developed an application with PyQt6 with a 64-bit version of Python. I even generated the setup but this setup does not work on a 32-bit machine. According to the documentation I installed 32-bit ...
leauradmin's user avatar
1 vote
0 answers
52 views

Python get current keyboard / input device

I want to create a python script to read the keyboard input of one of my old keyboards and converts the input into a macro output. All i managed to do is reading the Input of either all devices ...
Dynastray's user avatar
0 votes
1 answer
23 views

python pynput how to listen to a hotkey and single key simultaneously?

I have a hotkey set up with pynput: hotkey = keyboard.HotKey( keyboard.HotKey.parse('<alt>+b'), on_activate=on_activate ) # Function to handle canonical form for key events def ...
No Name's user avatar
  • 194
1 vote
0 answers
184 views

Binwalk Windows 11

I'm trying to install Binwalk on Windows. Everything seems to be installed, but when I try to start python3 setup.py installin response I get : Traceback (most recent call last): File "C:\...
user25532117's user avatar
-2 votes
1 answer
222 views

"Please use a modern browser" error when reading a REST API

I am trying to read a REST API from my Windows 10 laptop in VS Code in a python 3.11 script using the requests module. I finally got the API access to work after getting the latest .pem file but now ...
lem's user avatar
  • 117
0 votes
1 answer
62 views

Programming newbie - How can I fix an python import module error? [closed]

I'm using an old version of Python (v3.2) on a USB standalone environment (Portable Python) for simplicity and educational purposes since it works virtually on any computer without any software ...
ITlearner's user avatar
0 votes
0 answers
24 views

Using cairo on Windows x64 [duplicate]

I have to get the dominant color of an svg file. So my plan is to convert the SVG to a PNG and for this I wanted to use cairo. After the default package installation in PyCharm I get an OSError: ...
max pf.'s user avatar
  • 11

15 30 50 per page
1
2 3 4 5
186