Skip to main content

All Questions

-2 votes
2 answers
82 views

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

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(...
Agustos Imola's user avatar
0 votes
0 answers
330 views

Python tkinter: How to place a dropdown menu when button pressed?

I want to show a dropdown menu when myBtn is pressed but don't know how. myBtn = Button(self, image=BoxImg.png, bd=0, borderwidth = 0, highlightthickness = 0) BoxImg.png: So when this image is ...
The_Fishy's user avatar
  • 143
0 votes
1 answer
345 views

How to make same button do different actions depending on dropdown menu result with tkinter?

is there a way to make the same button do different actions depending on what the user chooses from drop down menu? I tried this for example, but it doesn't work: from tkinter import * from tkinter ...
queuetzi's user avatar
1 vote
1 answer
3k views

How can I add a button or dropdown in a plot created using Plotly in Python? [duplicate]

I am new to Plotly and fascinated by its interactive features. I have three pandas dataframes of electricity generation mix of three countries, which looks like this: I have been able to create an ...
hbstha123's user avatar
  • 1,730
0 votes
0 answers
138 views

I don't want to see all the graphs before selecting a dropdown button (python plotly)

I created a dropdown menu with several graphs and everything is fine but when I start the program and have not yet selected one of the buttons, I see all the graphs and it just looks messy so I want ...
Lucie's user avatar
  • 1
2 votes
1 answer
2k views

How to add a sequential dropdown menu in a single Tkinter window?

I would like to add two dropdown menus to a Tkinter window. I already have the code for a single dropdown menu that works nicely. But as it currently stands, the second popupMenu2 never appears. ...
MeC's user avatar
  • 463
1 vote
4 answers
3k views

Executing different functions based on options selected

I wanted to know if there is a way of populating a option menu with choices and then each of the different choice gives the build button a different function for eg: Type = cmds.optionMenu('type',w ...
Arnvfx's user avatar
  • 61