2,209,126 questions
Tooling
0
votes
2
replies
27
views
Regex syntax highlighting in Pycharm when using the regex module
When using the re module in Python, PyCharm will automatically include syntax highlighting for strings representing Regular Expressions for the re module, but it doesn't do that for the regex module.
...
1
vote
0
answers
26
views
Django Deployment on Render: ModuleNotFoundError for WSGI Application The Problem
Demo of the Project
The Problem
I am attempting to deploy a Django portfolio project to Render. While the project runs perfectly on my local machine using python manage.py runserver, the deployment ...
0
votes
1
answer
14
views
`SSLV3_ALERT_ILLEGAL_PARAMETER` error connecting to AWS SES from Python using smtplib
We started seeing this error yesterday when calling smtplib starttls()
SSLError: [SSL: SSLV3_ALERT_ILLEGAL_PARAMETER] sslv3 alert illegal parameter (_ssl.c:1010)
The issue happens when connecting to ...
0
votes
0
answers
38
views
Python problem : Unknown C++ exception in opencv code
I have an opencv error that i don't understand at all.
Here is my code
def findHolds(img,detector = None):
img = cv2.GaussianBlur(img, (3, 5), 0)
gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
...
1
vote
1
answer
15
views
Why does scipy.signal.ShortTimeFFT.upper_border_begin depend on the window values?
I'm having some trouble understanding some behaviour of the lower_border_end method of the scipy ShortTimeFFT.
Everything from the example is clear to me, but I don't understand this:
ShortTimeFFT(np....
0
votes
0
answers
17
views
Spyder variable explorer not showing variable in custom environment
I am using Spyder for Python development and conda to maintain environments. Spyder is installed in the base environment, while my Python code runs in a custom environment. I have installed spyder-...
-8
votes
0
answers
42
views
Scraper pagination [closed]
I’m trying to build a dynamic scraper and don’t want to use static XPath or CSS selectors for the next-page click methods. There are many ways to click to the next page of the JavaScript-rendered ...
0
votes
1
answer
28
views
How should ground-truth and tracker result files be structured for TrackEval?
I am using TrackEval to evaluate multi-object tracking results.
I have:
gt.txt (ground truth for a video)
mot.txt (tracker output for the same video)
What is the required directory structure for ...
2
votes
1
answer
34
views
Why are rows silently overwritten in a TimeSeries container when inserting duplicate timestamps?
I'm using GridDB Cloud with the Python client (griddb_python) and noticed unexpected overwrite behavior when inserting rows into a TIME_SERIES container that has TIMESTAMP as the row key.
Schema
...
0
votes
1
answer
21
views
Docling PictureItem only gives raw images, how to get the heading/caption text for each image?
I am using Docling in Python to extract images from a PDF and then embed them with CLIP. The image extraction itself works, but I want to also store the heading (section title) or caption associated ...
0
votes
2
answers
27
views
wxPython StyledTextControl spaces are not styled
I am trying to write a small text editor using the StyledTextControl in wxPython. Most of the styling is working, but spaces remain unstyled and are shown as white areas, the picture shows the effect.
...
0
votes
3
answers
58
views
How to query columns that are lists or dicts?
How can I query columns that are lists or dicts? Here is some basic JSON-like data.
[
{
"id": 1,
"name": "John Doe",
"age": 30,
&...
Best practices
0
votes
1
replies
46
views
How to program equivalent of javascript event handler in python using asyncio?
Context
I have been programming in javascript/typescript a lot and now I have to write a program that opens a TCP connection and performs some data exchange tasks initiated by incoming messages over ...
-2
votes
0
answers
26
views
After collision bt the Random Object and the Paddle, the predetermined score gets double in a random way, the condition for game over is not working [closed]
Hi Programmers Community,
I have created a game, there is paddle moving horizontally and a random generated object falls from up to down, there are rules which say if there is a collision between the ...
1
vote
3
answers
68
views
multiprocessing.JoinableQueue.empty() seems broken
[I am re-asking a question that was just closed. I have now including code that fails.]
Short version. I'm aware of the fact that multiprocess.Queue.empty() is unreliable. This makes sense to me. I ...