Can webbrowser module get source code?
Muddy Coder
cosmo_general at yahoo.com
Sat Jan 24 18:14:49 EST 2009
Hi All,
I played the demo of webbrowser module, with the code below:
import webbrowser
url = 'https://login.yahoo.com'
webbrowser.open_new_tab(url)
when I ran the code, it popped out a webpage nicely. I want to go
further: to get the source code of the webpage being displayed. Is it
possible to do it? I tried webbrow.get() but didn't work. Somebody can
help? Thanks!
Muddy Coder
More information about the Python-list
mailing list