Skip to main content

All Questions

Tagged with or
0 votes
0 answers
14 views

"Connection broken: IncompleteRead(50454677 bytes read, 35845891 more expected)" upon fetching large Collection from Postman API

Upon fecthing a large collection item from Postman's API I get the following error: RuntimeError: Chunked transfer error: ('Connection broken: IncompleteRead(50454677 bytes read, 35845891 more ...
Alvaro's user avatar
  • 115
-2 votes
0 answers
37 views

Python package: How to read a txt file from the same directory as the running script [closed]

I am creating a python package for an analysis that reads data from a txt file. The package works perfectly, but it doesn't search for the txt file in the local folder where the code is. How do I make ...
JoEmmyA's user avatar
-3 votes
0 answers
19 views

Is there any upwork api which we can use to apply to jobs? [closed]

Is there any upwork api which we can use to apply to jobs? I have been using Upwork API quite a lot to build different filtering combinations and communication tools. I couldn't find a way to Apply ...
Ali Abdullah's user avatar
-2 votes
0 answers
29 views

averaging many rows to gain better data [closed]

I'm working on a script to simplify a scanning process. I would like to average 10 scan sweeps together in order to eliminate a little noise and create a more concise scan. My first question is, is ...
Loren Zimmer's user avatar
-4 votes
0 answers
29 views

> AttributeError: 'float' object has no attribute 'items'

I've read many posts on this site but not yet posted so I apologize for first-timer mistakes. I'm writing a class that has created a pandas dataframe to store information about an instance of the ...
Virginia B's user avatar
-1 votes
1 answer
21 views

Run a dataframe of URLs through a function - Python

I am trying to use a dataframe that contains a bunch of URLs and run each individual URL through a function. Note: the function works perfectly if called with a single URL i.e. myfunction(https://www....
htank's user avatar
  • 21
0 votes
1 answer
23 views

Why am I getting errors with discord.ActionRow in discord.py?

I'm trying to create a game using buttons in Discord with discord.py, and I'm using discord.ActionRow, but it's giving me errors. Here's the function for context: async def create_game_board(self, ...
benz's user avatar
  • 451
-1 votes
0 answers
12 views

Getting confidence scores for fields extracted from image-to-text LLM inference

I am extracting details from cheques using fine-tuned Qwen 2.5 VL 7B model. I want to have confidence scores for the fields as in azure document intelligence. A few ways I think I can do it is using ...
Azim Ahmed Bijapur's user avatar
1 vote
1 answer
49 views

How do I get the length of a WriteableBuffer?

Previous question: How do I add a type hint for a WriteableBuffer parameter? I'm trying to implement the readinto() method of a RawIOBase subclass with correct type hints. The version I have so far ...
Maks Verver's user avatar
  • 1,145
-3 votes
0 answers
36 views

how i can fix this security problem on mariadb? [closed]

I'm making an auth system who requests for the user and the password then sends a requests to the database on mariadb to validate the request. The problem is that I need to make a user for the ...
user29962123's user avatar
-3 votes
0 answers
41 views

Selecting and Managing Addresses in a Criminal Recognition and Tracking Desktop App [closed]

Description: I'm developing a desktop application for criminal recognition and tracking using [specify language/framework, e.g., Python with Tkinter, C# with .NET, etc.]. The app needs to handle ...
Mohamed's user avatar
-4 votes
0 answers
46 views

Menu driven database management system [closed]

I am developing a menu-based system free of charge to computerize some manual tasks in order to help a friend better manage a small business. I am new to Python and trying to use a top-down, menu-...
Walt Mayhew's user avatar
2 votes
1 answer
51 views

How do I add a type hint for a WriteableBuffer parameter?

I'm trying to add a parameter type to the readinto() method declared in a custom class that derives from RawIOBase, like this: from io import RawIOBase class Reader(RawIOBase): def readinto(self, ...
Maks Verver's user avatar
  • 1,145
0 votes
0 answers
35 views

Why does my first test run timeout (but second run does not) when running multiple Python scripts with ThreadPoolExecutor or ProcessPoolExecutor?

I am working on an automated grading tool for student programming submissions. The process is: Students submit their code (Python projects). I clean and organise the submissions. I set up a separate ...
Ebrahim Al-Aghbari's user avatar
0 votes
3 answers
36 views

How can I stop a matplotlib table overlapping a graph?

The MWE below produces a plot like this: The row labels, X, Y, Z, overlap the right hand side of the bar chart in an ugly fashion. I'd like them moved further to the right, leaving a small margin ...
Mohan's user avatar
  • 9,009

15 30 50 per page
1
2 3 4 5
147438