I need your help with understanding try-except python/Django. so I have this function: def submit_dept_head_application(request, application_id): cv = request.F
How do I implement the examples in SHACL Advanced Features using pyshacl in Python Module so I can get the inferred result?
I have tried this, first is the dns request packet. The second packet is recognized also as a dns request packet. I want the second packet to be a dns response
I am trying to use send/recv function in Paramiko. According to what I see, the line throws an exception of timeout Evaluating: self.shell.recv(1024) did not f
I just don't get it. I'm trying to save two different value(to different position) to an excel file, but the first one gets overwritten everytime. Why? @classme
there is an electronic compass with angles of 1-360 degrees (or 0-359, whatever) https://i.stack.imgur.com/Q7RmH.jpg there are variables Yaw - compass readings
I am new to Python and Iam getting this error when running xgBoost: xgboost.core.XGBoostError: [15:49:05] C:/Users/Administrator/workspace/xgboost-win64_release
I'm following this tutorial: Tensorflow Image Segmentation I want to make my own dataset. Ideally, following the same format as the Oxford pet dataset used in
Sorry, I know it's a overasked topic but I'm pretty new to these stuff and didn't understand. I have a repository with the following structure: repo_name/
This is continue to this question. I have added a model to get query params to pydantic model class QueryParams(BaseModel): x: str = Field(description="quer
I am using below code to send message to slack from aws lambda, need to have newline between first and second variable. Both of them are of string type. Message
I try to rotate an image clockwise 45 degree and translate the image -50,-50. Rotation process works fine:(I refer to this page:How do I rotate an image manuall
I want to write a code in python to print The sum of the digits of all whole cube numbers in a range that received from the user. for example if he chose [1,100
I'm using the Web3.py library to pull Ethereum data about transactions, blocks, etc. I would like to either pull the number of Ethereum accounts or number of mi
Suppose I had the following plot (taken from the tutorial in the Altair documentation): import altair as alt from vega_datasets import data alt.Chart(data.cars
I am trying to query my database passing as a parameter a string. Some days ago it worked, but suddenly it stopped working. Is there something wrong I am missin
I am trying to query my database passing as a parameter a string. Some days ago it worked, but suddenly it stopped working. Is there something wrong I am missin
I've a slack app that is sending to a service written in typescript that is forwarding the message to my python script where I'm trying to validate the request.
I've a slack app that is sending to a service written in typescript that is forwarding the message to my python script where I'm trying to validate the request.
I've using ORB/FLANN to compare images and want to save / load image descriptors that come out of FLANN to a file so I can read them in later to compare with an