I am running an automation on a script and I want to evaluate the output of the shell instance before it gets written to a file. bashCommand = "ls -a" middleman
I am working on a small assignment in which I am required to use 'array' and very basic and simple stuff to create a function that draws math functions such as:
Hi I create not ROS python code for the server and the client. But need some help in implementing the ROS part for both of them. The Server only need to print a
I have a managed jupyter notebook in Vertex AI that I want to schedule. The notebook works just fine as long as I start it manually, but as soon as it is schedu
For the balanced column in reportlab, I want to increase the spacing between the columns so that no text gets very close to each other and there is a clear sepa
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
This loop scrolls through the list of names on a web page and clicks on each "Add" button next to the name. It works well and correctly wait = WebDriverWait(dri
I have two fields that I need to parse and combine together to form a full datetime field. The first field is a date field but in the form of a datetime field a
I spent the last 3 hours searching for a way to create a simple toggle button script that lets me know if a button on my Thrustmaster HOTAS has been pressed. As
Im using python 10 and windows-11 i try to activate venv with the following command .\onlineShop\Scripts\activate.bat I create venv using following command pyt
Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Done", "done"
I was trying to install the dlib package for my face recognition project but error keep getting in the way. This is another error and I don't
Is there a way to return the next element in a list on a function call, this is what I have tried so far: from itertools import cycle def get_next_element():
I'm trying to use the python client API to remove labels from a GCP project. I have been able to use this method to add labels, but the documentation is not cl
I have 3 files and I want to do something like below [1] conf.py var = 10 # Intialized with 10 (start) [2] file_1.py import conf print(conf.var) # Prints 10
I have the below set of 7 Dictionaries {'empid':785, 'empname':'Ibrahim', 'date(2022,5,1)':'Unmarked'} {'empid':785, 'empname':'Ibrahim', 'date(2022,5,2)':'Unma
I am self-studying machine learning and python. I am using sklearn and I want to plot the regression line, but I get the attributeError: 'LinearRegression' obje
I have a list of timedelta objects like timedelta(seconds=345) and I need a pythonic way to remove outliers from it. For instance I may have: timedelta_list = [
There is an xlsm file which I need to open and edit and extract data as per the macros enabled in the sheet. But I'm not able to open the file itself. I tried:
This is my last hope of getting the fixed for the buildozer python issue. I already raised an issue in github for kivy. But there was no valid answer for it. I'