Saving a page loaded using the webbrowser library?

2010-03-25 Thread Dr. Benjamin David Clarke
Does anyone know of a way to save the a loaded web page to file after opening it with a webbrowser.open() call? Specifically, what I want to do is get the raw HTML from a web page. This web page uses Javascript. I need the resulting HTML after the Javascript has been run. I've seen a lot about

Re: Updating an OptionMenu every time the text file it reads from is updated (Tkinter)

2010-01-19 Thread Dr. Benjamin David Clarke
On Jan 19, 7:00 am, Peter Otten __pete...@web.de wrote: Dr. Benjamin David Clarke wrote: I currently have a program that reads in values for an OptionMenu from a text file. I also have an option to add a line to that text file which corresponds to a new value for that OptionMenu. How can I

Updating an OptionMenu every time the text file it reads from is updated (Tkinter)

2010-01-18 Thread Dr. Benjamin David Clarke
I currently have a program that reads in values for an OptionMenu from a text file. I also have an option to add a line to that text file which corresponds to a new value for that OptionMenu. How can I make that OptionMenu update its values based on that text file without restarting the program?