All Questions
Tagged with python-interpreter or python
2,211,560 questions
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 ...
-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 ...
-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 ...
-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 ...
-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 ...
-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....
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, ...
-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 ...
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 ...
-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 ...
-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 ...
-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-...
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, ...
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 ...
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 ...