I am trying to trigger python-selenium automation script with gitlab CI/CD pipeline for my project. I have written a simple login automation script to test whet
Error when trying to connect using psycopg2 I'm able to connect to the database from my local machine using the same Python code (works instantly). Error when
I have no idea to implement to handle the class variable exception. I am trying to create python module which has dependency with mongodb. class HrmLookUps(DBMi
Form nested dictionary, How to Create a List, containing Sub dictionary keys? dict_lbl = { "lbl1":{"name":"label1","item1":"Accounts", "item2":"kannag
I use ANSI escaped strings in python 3/Ubuntu for printing e.g. colored text to the terminal. When I now try to find the "correct" length of such a string, this
I am trying to make the following query: df7[df7['bath'] > 10] But I am getting the following error: TypeError: '>' not supported between instances of 'me
I am making a website with flask framework as a simple project, and I'm wondering if there is a way to embed a python turtle script, I know I can use the jinja
From an api, I receive a data. It returns two values: 1 and -1. I receive one data per second and in series of 1 or -1. What I want is that when data goes to 1
I have made a simple telegram bot in Python. All code is in one .py file. Trying to achieve "continues deployment" I installed Jenkins, and with the GitHub plug
I'm working on an academy project to encrypt some files I have managed to encrypt all files from one folder but when there is a folder into that folder i get er
I have a geopandas dataframe world which I created using: import geopandas as gpd world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres')) I create
I am a beginner python user. how would I shorten this? my pylint was complaining. def eat_ghost(power_pellet_active, touching_ghost): if power_pellet_active
I need to fix this error, I'm not very good with APIs. I am keen to understand how to fix it, since I'm trying to learn Python. The code: @client.command() asyn
CLICK HERE TO SHOW THE IMAGE I want to get these marked time of last success and last failure (present in image) using python code by jenkinsAPI HERE IS THE COD
I have this code: class A: def __init__(self, vals: list): self._vals = vals def __len__(self) -> int: # some side effects like logg
py like this class MyStack(core.Stack): def __init__(self, scope: cdk.Construct, construct_id: str, **kwargs) -> None: super().__init__(scope, c
QComboBox is connected to a function using following syntax: self.combobox_releases_x_drive.currentTextChanged.connect(self.refresh_subfolders) Python method lo
I've written a GUI to set the sensitivity for the trackpoint on my Thinkpad. It's written in Python3 and GTK3, and the widgets for adjustments are laid out on a
I'm a beginner programmer and I'm trying to write some code that would show a messagebox whenever my battery level gets to either 1% or 100%. With the code belo
On my device there is a safe from which I forgot the password and I want to sort through all the passwords through auto-clicking on python. The problem is that