2,206,118 questions
Advice
0
votes
5
replies
132
views
I am learning Python and I am confused about string comparison logic. I wrote this code:
I am learning Python and I am confused about string comparison logic. I wrote this code:
S1=input("enter a string:")
if "a"<=S1<="z":
print("lower case&...
Advice
0
votes
1
replies
37
views
Web Scraping for Images from an excel list with many products of 1 brand (many files different brands)
I'm currently working on a project where I need to scrape product images using data from Excel files. Each file contains products from a single brand, but the identifiers vary some have UPC or EAN ...
-2
votes
1
answer
39
views
calplot height does not match Plotly chart height in two-column layout
I am building a Streamlit dashboard with two columns:
Left: a Plotly pie chart
Right: a calendar heatmap using calplot
My issue is that I cannot make both visualizations have the same height. Even ...
Tooling
0
votes
0
replies
39
views
What are the alternative WebRTC API services (CPaaS) that support both Python and React Native clients?
I am building a real-time video streaming architecture for a remote IoT/robotics project. The robot streams video using Python, and the user receives it via a React Native mobile app.
Both sides need ...
Best practices
0
votes
1
replies
73
views
How to incrementally merge daily CSV delta updates into a master file without losing expired records?
I am building a data pipeline to create a cumulative master dataset from daily CSV exports generated by a booking system.
Context & Data Structure
Source: A daily CSV file containing status ...
-3
votes
0
answers
63
views
Brew can't find python dependency [closed]
Trying to install qemu on mac, which requires a python dependency "tomli". I've not been able to install it such that it's accessible to brew.
If installing via pip3, there's an error saying ...
0
votes
1
answer
75
views
Problems using PyObjC to resolve aliases
I'm trying to use PyObjC (a bridge between the Python and Objective-C), version 12.1_3, to find the original file of a Finder alias, but I can't seem to get it right:
Python 3.13.13 (main, Apr 8 2026,...
-9
votes
0
answers
107
views
I need to fix this error for my Desktop Pet in python [closed]
This is the error messege i get
Traceback (most recent call last):
File "Pet.py", line 153, in <module>
File "tkinter\_init_.py", line 2528, in destroy
_tkinter.TclError: can'...
Advice
1
vote
2
replies
48
views
How to learn new framework?
I'm struggling with formatting custom dataset to train a YOLO model with. I've scoured the internet for days to try and find out how YOLO datasets should be formatted and how to create a custom ...
-2
votes
0
answers
42
views
Vertex AI endpoint.predict fails with 1.5MB request size limit when sending image for Keras/TensorFlow model [closed]
I deployed a custom image classification model (trained with TensorFlow/Keras using MobileNetV2) to a Vertex AI Endpoint.When trying to send an image for online prediction, I get the following error:
...
Tooling
2
votes
2
replies
63
views
What is the best way to write code to my GPU's CUDA cores using python?
I want to learn how to code for my GPU's CUDA cores (I have an NVIDIA 3060), but I do not want to learn a new coding language to do so. Is there a module I could use in Python to write to the GPU? I ...
-4
votes
0
answers
72
views
Blurry Text Detection in OCR Due to Webcam Focus Issues [closed]
using logitech 2 mp autofocus webcam for ocr detection of text labels
it not focusing on text when kept near to labels only focus when we kept farther away but we cant do ocr from that much far
but ...
-1
votes
1
answer
55
views
Cursor positioning does not work as expected in QPlainTextEdit in python
I am writing a simple application in python using PyQ. I am using QPlainTextEdit in my code but I am facing some issue with the cursor position. If I just insert new text, then everything seems to be ...
-3
votes
2
answers
95
views
How to replace all instances of a placeholder value within a dictionary's values? [closed]
Looking to see the best way to replace placeholder values in a dictionary object in Python. For example, if I have {env}_test defined, and pass an argument dev to my function, I'd want it to convert ...
-4
votes
0
answers
100
views
How to access/document a private HMAC-secured API for Odoo SaaS middleware integration? [closed]
We are working on an Odoo SaaS integration project where an external middleware service needs to fetch orders from a third-party ecommerce platform called PipesSpace.
The API endpoint provided in the ...