I want open a program (ex: calculator) and keep tracking his process as the pid, name, etc. But, after calling the subprocess.Popen(), the process id is killed
I have the following data set in python, Input I want to bring the first value of Column B that belongs to column Column A for a unique A val
I am using Colab instance that is connected to Google Cloud to train a neural model using NVIDIA A100-SXM4-40GB. I want to load my files from my Google Drive bu
def pressLetter(charIn): val = getKeyValue(charIn) PressKey(val) return def KeyboardEvents(): from pynput import keyboard with keyboard.Even
I'm having trouble with this lambdas syntax. I'm trying to translate a list of booleans to an integer value, but I'm getting an error, I don't understand why.
I am plotting a graph with 3 y axis, and it shows in the plot window of Spyder instead of saving correctly in a folder. The graph saved in a folder is blank. He
I got this error file while following this tutorial: https://www.youtube.com/watch?v=yqkISICHH-U So far I have created a training dataset to feed into Tensorflo
I have made a small application that uses a Rich to show a Live view in several Panels. Is there a way to put standard (or rich) print statements into a particu
I try to open a file (here bytestring is shortened) but get ValueError: embedded null byte My code: file = b'\x03\x04\x14\x00' with open(file) as f: print(
I am trying to get a picture from my files to print after the user input a number for PokeID in the interactive manual. But when the number is entered it does n
Problem My application works well when in python-only and on my machine. I am attempting to deploy to a machine which has lesser privileges. The basic script t
This is my code to print "x t e k k y" whit a cool ASCII font using pyfiglet, but the output always displays in 2 lines, whith gives a bad aestethic, is there a
Hi I am trying to calculate the normalised orientation order First calculate the bearings of every edge of the street networking into 36 equal sized bins (repr
I am having an output data frame like the one below and I wanted to format the output so that I can use it for the further pipeline. Few pointers about the data
I am new to Python and I wonder what is wrong with this code, I searched for this,I guess in the end of the make_list function I have to return, and not print()
I have recently deleted and re-installed python, kivy, kivymd. Then, my kivy button's shape changed. My MDRaisedButton used to have slightly rounded corners but
I have some sqlalchemy that counts rows with the value "3" and then prints out the count. It works fine if the count is 1, 2, 3, etc, but when there are no item
I have the below python dictionary stored as dictPython { "paging": {"count": 10, "start": 0, "links": []}, "elements": [ { "organiz
I want to perform 8 class classification only and hence need to filter any 8 classes out of 10. Please help. Thank you! Code to load cifar 10 is below #Keras li
trying to fit some sine wave to data i collected. But Amplitude and Frequency are way off. Any suggestions? x=[0,1,3,4,5,6,7,11,12,13,14,15,16,18,20,21,22,24,26