Hi all,
I’m new to Deadline and the forum. I’d appreciate some help on this issue I’m facing and apologize if it’s been answered before.
Is it possible to import Deadline.Scripting into any standalone python script? I’d like to submit jobs from some of my python tools but “from Deadline.Scripting import *” results in “No module named Deadline.Scripting”. If I can’t, I’ll go ahead and make system calls to deadlinecommand.
Thanks!
Sean Looper
Hey Sean,
You might be able to hook into the Deadline stuff from a standalone Python script (as long as you’re using IronPython, that is), but I’m not sure what’s involved in getting that setup, if it is possible. Unfortunately, Ryan (our lead developer) is out this week for Siggraph, so I can’t bug him about it .
One thing I do know you can do, is run your Python scripts through DeadlineCommand via the “deadlinecommand ExecuteScript [path to script]” command. This definitely lets you import the Deadline.Scripting stuff, and use it’s functionality. Hopefully this can tide you over till we get a definite answer from Ryan.
Hope this helps,