I am trying to convert a program from interactive to script file. The program consists of the following 2 lines:
import webbrowser
webbrowser.open_new('http://www.google')
When I run it interactively, it works but if I run it as a scrip file, it
produces an error unless I import webbrowser interactively.
What am I doing wrong?
Thanks in advance for any assistance.
D. J.
Error.doc
Description: MS-Word document
_______________________________________________ python-win32 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-win32
