it as been a long time without programming. I'm doing a function that converts the age of a dog to human years, but I'm getting some mistakes and I am not getti
Please does anyone have any idea why when I pass my 2 dim Numpy float64 (Double) array normally it prints row by row correctly, col1, col2, col3, col4 as I trav
I'm a newbie in Python. I have a sample.txt with random generated numbers, like: 190372210335873910924370795570288776927025955114012905862203094277820432758989
Beforehand: If something is unclear or you need more information, feel free to write in the comments, so I can try to deliver what you need. Unfortunately I don
I have used the MOTION_HOMOGRAPHY function in OpenCV (python3.6) to register a pair of images, and I am trying to interpret the 3 x 3 warp matrix the function r
Okay I've broken down step by step what the function needs to do. create random number, sort ascending and descending(needs both), subtract, s
It appears that in Python graphics.py, new objects are drawn behind existing objects. So if I draw a blue circle and THEN place a rectangular box over half the
Killing all celery processes involves 'grep'ing on 'ps' command and run kill command on all PID. Greping on ps command results in showing up self process info o
This is a part of the code that checks the notice that appears while working using pyautogui and resumes the work when it disappears. Capture the guide and make
I want to remove backslash from a string, I tried result.replace('\\','') but nothing changed. Anyone has an idea how I can remove it? result = '[(\'company_ids
I'm working on creating a filter in django where the options displayed are coming from a new column in the database. It turns out that this column was created d
Practicing on visualization as a Python newbie I have encountered this conceptual issue that got me thinking, Infact I managed to change the price format on the
I have (a lot of) data like below y = [1, 3, 4, 5] which corresponds to the grid points x = [1, 2, 3, 4] On the other hand, I have a standard grid X = [1, 3]
Executed 'Functions.GraphQLAPI' (Failed, Id=70c18ea9-5194-4bed-bd04-27c5138e8096, Duration=49ms) [2022-03-23T11:37:26.657Z] System.Private.CoreLib: Exception w
I am using conditional statement in a function to ask weather an input is float/string/integer and display certain output if it determine each of the input but
I'm Tring To Convert A Chess Board Image Into A Matrix With The Pieces On The Board. like so: [ [P, P, P, P, P, P, P, P,] [P, P, P, P, P, P, P, P,] [-, -, -,
I'm using pytorch lightining and I have this error but I'm non really understanding what is the problem. I create a Deep Learning pipeline to run with hyperpara
I am creating a Turing machine that computes the multiplication of two numbers using unary representation within 300 step limit. For example 2 * 3 as 110111 and
I want to add two numbers and add them and update the result instantly without using a button. I have written this code using after() to do that. from tkinter i
I am trying to deploy my Scrapy spider using Scrapyd and Scrapyd-client. I have managed to successfully create a project containing my spider, but when i try to