Catching webbrowser error in RedHat

Mirko Zeibig mirko-lists at zeibig.net
Tue Apr 1 04:24:34 EST 2003


Lance wrote:
> I'm running Python 2.2 under RedHat8. I use webbrowser to open an html
> file in a browser window. This is my code:
> 
>         try:
>             webbrowser.open(fname)
>         except:
>             print "ERROR: "+fname+" not found."
> 
> 1. A Redhat "splash" screen shows for a few seconds prior to my desired
> screen when try block is successful. Can this splash screen be disabled?
Hello Lance,

is this really a "splash" screen? Maybe the webbrowser is just showing the
predefined homepage. Try to start Mozilla, set the homepage to blank and
see what happens.

Regards
Mirko
-- 
"Ein, zwei, drei im Sauseschritt, saust die Zeit, wir sausen mit!"
(Busch sein Willi, und nit sein Georg)




More information about the Python-list mailing list