I’m new to Kivy but I think I have successfully got the Enter key to link to my in-app "go" button in my Kivy iOS app. The user would usually enter the required text and then to save tapping off the keyboard and hitting "go" they would just hit the enter key. This works fine. ..
I’ve been trying to automate actions on a specific website using python request sessions. Been doing such things for a while, however this is a first time I ever encountered such an issue. To my knowledge, I have noticed that website sends ‘fragments’ of data to a Yandex server over POST. These fragments contains URL ..
I need to press green button in to accept cookies on https://garantex.io/ My code: driver = webdriver.Chrome(ChromeDriverManager().install()) driver.implicitly_wait(10) driver.get("https://garantex.io/") try: cookie_access = driver.find_element_by_class_name(‘btn.btn-success’) print("Is displayed = " + str(cookie_access.is_displayed())) except Exception as e: driver.close() print(e) I have Is displayed = FALSE. How can I interact with this button? Source: Python..
So I’m trying to click the button using requests sessions. Keep in mind, I don’t use Selenium for some reasons. The button posts some kind of Yandex pointers, but I can’t seem figure it out what are they doing. Sending, submitting a text in the chat also posts pointers, I have got no idea how ..
I’m currently creating a GUI and I want to lock a "continue"-button, if information, like an email-adress, is not entered yet. Thanks to anyone who’s trying to help 🙂 Source: Python..
from tkinter import * root = Tk() #This function should stop the function printer def button_status(is_clicked): return is_clicked #This function prints integer numbers from 0 to 2 def printer(): for i in range(3): print(i) if(button_status==True): break button = Button(root, text="Stampa",height=2, width=6, command= printer, font=("TkDefaultFont",18),bg=’white’) button.place(x=630, y=680) button3 = Button(root, text="Termina",height=2, width=6, command= lambda: button_status(True), font=("TkDefaultFont",18),bg=’white’) ..
PLS help I m a newbie: I have 2 python Files (FirstWindowFile and SecondWindowFile). I create one button in 1st and i want, after pressing it, to create a new window with a button in the 2nd file. After pressing the button in the 2nd file, I need to change the value of global variable ..
i’m fairly new to programming and i’ve been recently following a tutorial on car driving game, but i wanted to make buttons for it. When i added the buttons, they seem only to work one at a time, how can i make it so more button could work? Here’s the function: def button_move(player_car): pressed = ..
in Python without using tkinter, can anyone help? Here’s the code i’d like to add it to: import time pswrd = ‘12345678’ while True: m = input("1.Login 2.Reset Passwordn") if m == "1": n = input("Password:n") if n == pswrd: print("Password Correctn") else: print("Wrong Passwordn") else: n = input("New Password:n") pswrd = n repeat = ..
Need to generate warning message while clicking the confirm button in Sale module. But the button doesn’t work. Condition: total amount >= 200000 and vat number in customer is NULL, Here is the code, from odoo import api, fields, models, _ from odoo.exceptions import UserError class pannum(models.Model): _inherit = "sale.order" def action_confirm_vat(self): if self.amount_total > ..