E.g. input file username: &username john password: &password xyz server: &servername 192.168.0.1 host: server: *servername username: *username p
I have a horizontal line that changes height depending on brush selection. Is there anyway to constantly display the line as the line goes up and down? Below is
I have a python program that allows users to repeatedly press a key that will create a tkinter window where they can open an image an manipulate it. The problem
I'm using pyftdi (https://eblot.github.io/pyftdi/) to handle a FTDI ft4232h. Everything usually works fine but every now and then I come across a ValueError say
I have been advised using pip in a Anaconda virtual environment is bad. But some packages are not on conda or on conda forge. When I run conda activate virtuale
I'm using subprocesss.run() to run samtools command in python. The code is as below: result = subprocess.run(['samtools', 'faidx', 'hg38.fa.gz', 'chr1:169699712
I've been trying to install PyQt6 on my Ubuntu machine, running Python 3.8.10. Following the instructions on the site, I have tried the following: I have also
x=2 def fun(): y=x+2 print(y) def main_fun(): x=10 fun() print(x) fun() main_fun() fun() print(x) I want the that the value of x when i call m
I can unzip a url zip file of csvs using the below code: import requests from zipfile import ZipFile from io import BytesIO import pandas as pd z = 'www.someur
I created a button that changes the color of the application. In the main screen it works totally fine, however it does not change the color of the theme in the
train_image = 'train_image location' sift = cv2.SIFT_create() gray = cv2.cvtColor(train_image, cv2.COLOR_BGR2GRAY) (kp, descs)
I want to sort the value which startswith chapter in list, but I have no idea to implement this. my list ["prologue", "chapter 1", "chapter 3
I am trying to install the opencv python library. This is the command I ran: pip install python-opencv I got this error: ERROR: Could not find a version that s
I have a date with GMT with different timezones +6 & +5 gmt_time6= "2022-05-06T15:11:29.695GMT+06:00" gmt_time5 = "2022-05-06T14:11:29.785GMT+05:00" How to
The following script moves window from my left monitor to the right monitor (2560x1440 each) win = win32gui.GetForegroundWindow() winPlacement = list(win32gui.G
I have project to do in my studies and it is my first project in Python. I must create simply program for bank. With GUI I'm creating an account on classes and
I want to auto populate my update form in django with the existing data, but instance=request.user and instance=request.user.profile seems not to be auto popula
Create user page image So I have a fully working signup page so far. I want to add a simple confirmation email function, that sends an email t
I'm trying to extract the Fund Summary text on the following Yahoo Finance page using python: Thus far, XPath has worked well using the XPath with the text() me
I'm trying to train a custom object detector using tensorflow on google colab using this Building your own object detector — PyTorch vs TensorFlow and how