Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Short version. I'm aware of the fact that multiprocess.Queue.empty() is unreliable. This makes sense to me. I understand that the actions of one thread may take a moment to be visible to another ...
0 votes
1 answer
21 views

In Python I am trying to print something, erase/clear that line, then print over it again. The below code works on one of my computers but the second the ANSI escape codes (the 033円[F bits) get ...
1 vote
0 answers
17 views

I'm trying to install OWASP PyGoat, and then create a secure version of it. I followed method 2 on the repository's site (https://github.com/adeyosemanputra/pygoat?tab=readme-ov-file#method-2), but ...
-6 votes
0 answers
28 views

I am new to this platform/service and during the setup it is asking me to approve a mandate of ₹15,000 INR. I’m not sure: Why this mandate is required Whether the amount is actually deducted or just ...
-4 votes
0 answers
22 views

When building platforms with multiple Python services (FastAPI, Flask, Django, internal APIs), we kept facing the same issues: • Authentication duplicated across services • Roles and permissions ...
2 votes
1 answer
23 views

When I am using PySide6, I pass a dictionary through a signal, but the dictionary data I receive in the slot function changes. The content itself does not change, but the order of the keys in the ...
Advice
0 votes
1 replies
22 views

I receive ZIP files everyday to a bucket. Part of my Python pipeline is to extract these out into the individual CSVs. However, wondering if there's a quicker way? There's roughly 20 files in each ZIP,...
1 vote
2 answers
34 views

Would like to delete one single element from a Python DataFrame, as in: a x b c 1 2 3 becomes a b c 1 2 3 All the solutions I have seen seem to require copies and creating a new DataFrame, which ...
-1 votes
1 answer
19 views

I am writing a custom logger (with custom handler). Found out that I have a memory leak when I am using HttpFluentHandler. I confident that problem deals with the handler, because there are no memory ...
Advice
0 votes
3 replies
39 views

I have some code where I read N strings of a given size n into an ndarray, which I would then like to cut in half to obtain a twice longer array of strings size n/2. Is there a numpy operation which ...
-2 votes
0 answers
36 views

I have a dataTable that is a list of lists. Every one of those lists is a list of different data. The first list containes the year, the second is data about 'poverty' for every one of those years, ...
1 vote
1 answer
30 views

An instance of class A starts a sub-process that calls a method of an instance of class B. It works as expected in real-life, but unit tests fail because the mock object replacing the object of class ...
0 votes
1 answer
43 views

I have this code: from icecream import ic ... ic (psycopg.ClientCursor(conn).mogrify(consulta, argumentos).expandtabs(3)) Which gives me this output ic| psycopg.ClientCursor(conn).mogrify(consulta, ...
Advice
0 votes
1 replies
22 views

Does this package is reliable for llm access it grants 7 LLMs i should use it in my projects or not if yes so where during development or in testing or just for learning agentic ai or one important ...
0 votes
1 answer
99 views

countries = ["America", "Canada", "Australia", "China", "Chile"] for c in countries: if c.startswith("C"): # To get countries ...

15 30 50 per page
1
2 3 4 5
...
147274

AltStyle によって変換されたページ (->オリジナル) /