Threads running in different web browser windows
Harald Massa
cpl.19.ghum at spamgourmet.com
Sat Oct 23 12:45:40 EDT 2004
Lad,
>> > I want to open 3 webbrowser windows( 3 threads) and open in each
>> > thread( window) pages from a particular website.
>> > Is it possible to do that in Python?
>> Yes, it is possible to do that in Python.
> And any idea how? I do not know how I can open ( from a running script
> in one webbrowser window)
I have no idea how you can have "a running [Python] script in one
webbrowser window" without being very very competent on installing Python
as Active Scripting Language or using Python / Mozilla bindings.
If you would be that deep into Python / computing you surely would have
no need to ask this question...
so I assume that you just need to open 3 webbrowser-sessions. They are
"independent processes" anyway (at least on windows and linux), so no
nead for threading.
just
import webbrowser
webbrowser.open("http://www.python.org", new=1)
webbrowser.open("http://www.postgresql.org", new=1)
webbrowser.open("http://www.wxpython.org", new=1)
enjoy it,
Harald
More information about the Python-list
mailing list