ActivePython and WSH problem
JohnB
johnbabhorsspam at donotspampeakaudio.com
Fri Jun 8 11:10:57 EDT 2001
Thanks Mark, that got me working with WSH.
However, both when executing those commands, and when running the .wsf file,
I get the following warning:
"d:\python21\lib\regsub.py:15: DeprecationWarning: the regsub module is
deprecated; please use re.sub()
DeprecationWarning)"
It seems that running the .wsf file wants to register something. Do you know
what's up with that?
Thanks,
JohnB
"Mark Hammond" <MarkH at ActiveState.com> wrote in message
news:3B200C2D.5020701 at ActiveState.com...
> JohnB wrote:
>
> > However, on running it, the following error is displayed
"...pytest.wsf(6,
> > 14) Windows
> > Script Host: The value for the attribute is not valid : language".
> > I've seen it claimed on the net that this should work, so I suspect my
> > ActivePython install didn't register something as a script engine for
> > Windows Scripting Host, or I'm doing something stupid. Any ideas?
>
>
> Almost certainly a problem with ActivePython (that will be fixed next
> version :)
>
> Go to a command-prompt, change to the win32comext\axscript\client
> directory, and execute the following commands:
>
> python pyscript.py --unregister
> python pyscript.py
>
> And all should be fine.
>
> Mark.
>
More information about the Python-list
mailing list