drop-down-menu

How to add names to dropdown menu in Plotly

How to add names to dropdown menu in Plotly Question: I’m not so good at python and also very new to plotly. I’m having a trouble adding labels(names) next to dropdown menus in Plotly figure. I managed to build an interactive table in which you can filter the data by columns having a quick research …

Total answers: 1

How to scrape web-page with button/menuitems optionvalue?

How to scrape web-page with button/menuitems optionvalue? Question: In particular, I’am trying to scrape this web site I would like to setup the Button-menuitems on "50" rows per page: My Currently core is the follow: Select(WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//[@class=’btn btn-default dropdown-toggle’]")))).select_by_visible_text(’50’) where is my wrong? Can you help me ? Thank you in advance for youre …

Total answers: 3

How to create an option menu in Tkinter?

How to create an option menu in Tkinter? Question: How can I make an option field in Tkinter? For example, in HTML it is this: <select> <option value="Option1">Option1</option> <option value="Option2">Option2</option> <option value="Option3">Option3</option> <option value="Option4">Option4</option> </select> Asked By: Klovik || Source Answers: Method 1: OptionMenu The first method is to use OptionMenu from tkinter. You will …

Total answers: 1

How do make different messages pop up when different "difficulties" are choosen?

How do make different messages pop up when different "difficulties" are choosen? Question: I want different outcomes when different "difficulties" are choosen and I press start. I can’t make it work. I have tried to look for anwsers on youtube i didn’t find anything helpful. import tkinter as tk from tkinter import messagebox import random …

Total answers: 1

Selenium search by tag name option

Selenium search by tag name option Question: I’m trying to get all data from a website called Correios. On this website, I need to handle some dropdowns which I’m having some issues with, like: It’s returning a list with a bunch of empty strings. chrome_path = r"C:\Users\Gustavo\Desktop\geckodriver\chromedriver.exe" driver = webdriver.Chrome(chrome_path) lista_x = [] driver.get("http://www2.correios.com.br/sistemas/agencias/") driver.maximize_window() …

Total answers: 3

How can I create a dropdown menu from a List in Tkinter?

How can I create a dropdown menu from a List in Tkinter? Question: I am creating a GUI that builds information about a person. I want the user to select their birth month using a drop down bar, with the months configured earlier as a list format. from tkinter import * birth_month = [ ‘Jan’, …

Total answers: 2