Python and Windows Scripting Host
Mark Hammond
mhammond at skippinet.com.au
Wed Jun 14 15:28:03 EDT 2000
In article <39y15.839$Zh1.63369 at news.easynews.com>,
"Roger Upole" <rupole at compaq.net> wrote:
> The Wscript object is not referenced directly as a Python variable.
> You create it via win32com.client.Dispatch:
Im afraid that is not correct. When Python is running under the
Windows Scripting Host, the WScript variable is automatic.
> "Jim Bower" <jbower at lims.com> wrote in message
> news:9Ov15.1411$vM.56343 at typhoon1.ba-dsg.net...
...
> > However, I am getting "NameError: wscript" anywhere the wscript
Python is a case sensitive language. You need to use "WScript"
Mark.
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list