A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://stackoverflow.com/tags/python below:

Newest 'python' Questions - Stack Overflow

0 votes

0 answers

20 views

Pydroid Tkinter Not Reassigning

I have this Python Tkinter code right here: from tkinter.filedialog import * import tkinter as tk class App(tk.Tk): def __init__(self): super().__init__() self.apptitle = "TODO.py&...

asked 48 mins ago

-1 votes

1 answer

31 views

Detect if user has text field in focus or is hovering over it in Blender

Any method with Python to detect if the user has focus on a text input field, with the caret on, or is hovering over it with the mouse?

asked 1 hour ago

-2 votes

0 answers

38 views

Scraping data with Python requests from an ASP.NET form on a webpage

I'm trying to scrape data from the website https://ndber.seai.ie/Pass/assessors/search.aspx Submitting the form without values returns 52 pages of results, each containing a table of data. The goal is ...

asked 1 hour ago

0 votes

0 answers

30 views

How to make parallel within the parallel?

Right now I am running a model optimization to optimize one set of parameter for several sites (in total 47 sites, i.e. the cost function sum over these 47 results). Site computation is independent ...

asked 1 hour ago

0 votes

0 answers

38 views

Python package upgrade with uv behaves as in old version

for an old project I have upgraded jsonschema. For a prototype project I have added jsonschema to check the new functionality with jsonschema Draft7Validators. uv pip show jsonschema shows in both ...

asked 1 hour ago

0 votes

0 answers

21 views

Accessing SharedMemory in a Gitlab runner

I'm writing a pytest that should communicate to Docker containers through shared memory. Locally, that's pretty easy to achieve using something like this: # Create a shared memory block shm: ...

asked 1 hour ago

-1 votes

0 answers

20 views

Getting an "unexpected token" error with jaxtyping

I'm getting these "Unexpected token at end of expression" errors in VS Code. Any suggestions for a fix or workaround? In VS Code, I've messed around a bit in the settings.json trying out ...

asked 1 hour ago

-3 votes

0 answers

61 views

Class objects in MRO in python [closed]

I'm trying to understand Python's inheritance model. This is the example I'm using: class B: def b_m(self): print("B.b_m") class A(B): def a_m(self): print("a....

asked 2 hours ago

-2 votes

0 answers

26 views

How to use MATCH function to return same results? [duplicate]

def main(): x = input("File name: ") if x.endswith(".gif"): print("image/gif") elif x.endswith(".jpg"): print("image/jpg") ...

asked 3 hours ago

0 votes

1 answer

32 views

How to prevent [WinError 3] using shutil.move on .mp3 files whose artist tags contain '&' or '('?

I'm writing a Python script that: Notes all files in the working directory Reads the artist tag with the mutagen library Uses regex to grab the first-mentioned artist as the 'main artist' Creates a ...

asked 3 hours ago PySpark program stuck at adding broadcast piece

I'm trying to write a PySpark program that filters for records in a very large dataframe (1-2B records) that matches some conditions on another smaller reference dataframe. This is done using a left ...

asked 3 hours ago

0 votes

0 answers

13 views

PyQt6 QTextEdit won't expand as much as it should

I am trying to create a UI that resembles OpenAI's, where code and markdown snippets follow each other and markdown and the code are parsed/syntax highlighted accordingly. I've been using PyQt6 and my ...

asked 3 hours ago How to reduce horizontal padding in this matplotlib plot?

I'm trying to eliminate horizontal padding of a Matplotlib plot. Here is the script: import numpy as np, matplotlib.pyplot as plt a = np.random.rand(100) plt.figure(figsize=(12, 6), dpi=100) plt....

asked 5 hours ago

0 votes

1 answer

46 views

How can I run a long-running task in Tkinter without freezing the UI (while keeping real-time updates on a Canvas)?

I’m building a Tkinter app where I visualize sorting algorithms on a Canvas. The problem: whenever I run the sorting function, the entire UI freezes until the function finishes. Here’s a simplified ...

asked 6 hours ago

-2 votes

1 answer

35 views

Why do trading API wrappers often use dictionaries to map user-friendly inputs (.. BUY, CNC) to internal API constants? [closed]

I use the following code to place an order: from Dhan_Tradehull import Tradehull client_code = "110" token_id = "eCbXElV9AIPuQ" # Initialize Tradehull object (tradehull support ...

asked 7 hours ago

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4