windows script host and python
Mike Carifio
carifio.nospam at nospam.usys.com
Wed Mar 14 08:36:59 EST 2001
I'm looking for some resources on using python with wsh generally.
Specifically, I'm trying to use .wsf files with python. For example,
given a "one liner" in (say) hello.py:
WScript.Echo("hello")
then wscript //E:python hello.py works. But hello.wsf below doesn't:
<?xml version="1.0" ?>
<?job error="true" debug="true" ?>
<package id="package1">
<job id="job1"> <!-- run by default -->
<comment>
blah blah
</comment>
<script language="python">
<![CDATA[
WScript.Echo("hello")
]]>
</script>
</job>
</package>
Is this known to work by a different path? Known not to work at all? Pl.
advise. Tx.
More information about the Python-list
mailing list