I am trying to convert an RGB image to its Value component. I cannot use the RGB2HSV function because I have been instructed to convert it without it. If I am n
I tried some website scrapping. I success scraped datas in my current db table. But I would like to INSERT into "new_table" only if records do not exist in "cur
I have attempted to follow the directions for environment variables in my project and thought I was doing the correct thing but it does not appear to be working
Example code: import dask.bag as db from dask import delayed from dask.distributed import Client, LocalCluster N = 10**6 def load(): return delayed(range(N
I am using FastAPI to serve some ML models and I have a Streamlit basic UI using Python Requests module. One of my service is getting an image through a POST re
So I have actually worked out how to change the first word but the problem is its not just changing the first word only. So i have a file such as : 2 0.268278 0
I try to convert the CSV file into JSON format and import it into Deta Base (database). Here is a main.py code I run from a terminal. No error shows up, but Det
I'm creating a fairly small plot with matplotlib which needs to include a certain legend. However, while space is tight, for some reason matplotlib makes the le
I'm writing an application REACT frontend and Flask backend (with Flask-cord installed). When I make a call from the frontend I get an error Access to fetch at
I used xlwings to open excel workbook. It worked fine up to last month. But today, when I run the same code, it opened my worksheet but convert my worksheet nam
I fetch the data from Mysql and populate the values to my html form in a drop down menu.Once the user selects the option, the value which gets sent back is only
I made this window using qt designer i did not add the code that downloads the songs yet but when I run it the window doest show up from PyQt5 import QtCore, Qt
I can't find anywhere. I want to use appstoreconnect API for automatic process of raport using python. So Does use appstoreconnect reporting API is free? https:
trying to save an inverted image, saved inverted RGB colour data in array pixelArray, then converted this to a numpy array. Not sure what is wrong but any help
I notice several 'set value of new column based on value of another'-type questions, but from what I gather, I have not found that they address dividing values
I tried to set up multiple Dash Apps inside a Flask App and use Flask Babel. from flask import Flask, request from flask_babel import Babel, gettext from werkze
I'm having the following problem. I've been trying to replicate example code from this source: Github I'm using Jupyter Lab environment on Linux and Spacy 3.1 #
I am relatively new to Python. I am unable to figure out how to delete all rows (without deleting the row with column names) of specific columns with openpyxl.
I have an Azure Devops pipeline where i have automated the creation of a service connection for azure subscriptions and also triggering the stage 2 of the pipel
country = str(input()) import matplotlib.pyplot as plt lines = f.readlines () x = [] y = [] results = [] for line in lines: words = line.split(','