I'm doing a program that consists of a single Entry ().
The thing is that I want you to immediately detect what is written and act one way or another. So when you finish putting the last character of for example "add", do one thing.
I've t...
I have this code that I downloaded the captcha but I have to send the data along with the resolution of the captcha. My question is: How do I keep the captcha download session and send the form request along with the resolution of the captcha (I...
a. Write a function that allows you to highlight a specific range of grays in an image. The function must
receive as input parameters: a grayscale image (uint8), parameter A and B that
defines the range of values that the function will highlight...
Hi, I would like to convert a text into a tuple or list. The text got it out of here:
import os
passwd=os.system("cat /etc/passwd | tail -1")
Now that I have the variable passwd with the text I want, how do I convert it into a tuple or list...
I am using QGridLayout in Pyqt5 to build a window in python. What I want to do is that the elements are not available to occupy the entire width and height of the window, but they are grouped in the upper area of the window. My code is:
def __...
I'm doing an animation of a simple frame, but I want the animation to start when the cursor is on the frame and return to its initial shape when it leaves the frame.
Since at the moment it only works with one button, this is my code
import...
I'm trying to check if a value exists within a dictionary list. Use flask 1.0.2. See the example below:
person_list_dict = [
{
"name": "John Doe",
"email": "[email protected]",
"rol": "admin"
},
{...
Hello, I have a problem that I do not understand when using assignment operators
the exercise is about printing a sum from 50 + 48 + 46 + 44 ... 20
n=50
h=0 #que hace esta variable?
while n<=20:
h+=n #no entiendo lo que hace esto
n...
Good afternoon I am trying to generate a Python player with PyQt using the Python binding for VLC (libvlc), but it throws me the following error:
This is my code:
import sys
from PyQt5.QtWidgets import QMainWindow, QApplication
import...