How do I enable/disable a scheduled task using Python?
I can get to a task:
self.ts=pythoncom.CoCreateInstance
(taskscheduler.CLSID_CTaskScheduler,None,pythoncom.CLSCTX_INPROC_SERVER,taskscheduler.IID_ITaskScheduler)
self.ts.SetTargetComputer(u'SomeServer')
Does anyone know the where abouts of some good sample PAMIE code?
Thanks,
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 4, 1:41 pm, Fredrik Lundh [EMAIL PROTECTED] wrote:
kj7nywrote:
For years it has been a slight annoyance that every time I wanted to
test a snippet of code from a class by running it in the interactive
interpreter, I had to remove all of the self. instances from the
code. After I
Hope this hasn't been posted hundreds of times. I have never seen it
before, but could have missed it.
For years it has been a slight annoyance that every time I wanted to
test a snippet of code from a class by running it in the interactive
interpreter, I had to remove all of the self. instances
Forgot to mention I'm using Python 2.4.3.
--
http://mail.python.org/mailman/listinfo/python-list
I have been able to get xml.dom.minidom.parse('somefile.xml') and then
dom.getElementsByTagName('LLobjectID') to work to the point where I
get something like: [DOM Element: LLobjectID at 0x13cba08] which I
can get down to DOM Element: LLobjectID at 0x13cba08 but then I
can't find any way to just
On Aug 7, 10:09 pm, Jay Loden [EMAIL PROTECTED] wrote:
kj7ny wrote:
Is there a way that I can programmatically find the name of a method I
have created from within that method? I would like to be able to log
a message from within that method (def) and I would like to include
the name
Is there a way that I can programmatically find the name of a method I
have created from within that method? I would like to be able to log
a message from within that method (def) and I would like to include
the name of the method from which it was written without having to
hard-code that value
On Jun 30, 10:55 am, Roger Upole [EMAIL PROTECTED] wrote:
kj7ny wrote:
How can I access and manipulateScheduledTasksin Windows using
Python?
I have a Windows XP workstation running Python 2.4.4 using the
win32all modules to control the windows services on multiple Windows
2003 servers
How can I access and manipulate Scheduled Tasks in Windows using
Python?
I have a Windows XP workstation running Python 2.4.4 using the
win32all modules to control the windows services on multiple Windows
2003 servers. It works great.
However, I also need to remotely collect the settings for
Is there a good example on instantiating, calling, using, etc., an API
from Python?
I need to use Python to talk to another system through that system's
API's on Windows XP.
Can you point me to documentation and/or a good example of Python using
3rd party API's? (Preferably a good example rather
To be more exact, I am trying to use Python to talk to a Livelink
system (http://www.opentext.com/) through their LAPI interface (.dll's,
I think). I'll see if I can generate a more intelligent answer to your
question, but for now, I'm far enough in the dark that this is as good
as I can get.
I am attempting to incrementally back up files using python. How can I
compare a file on a hard drive to a file in a python created zip file
to tell if the file has changed? Or should I be using some other
method to determine if a file has changed?
--
13 matches
Mail list logo