How to run 3dsCommandSubmission.py

Hi!

I am new here and with no experience with python.
I am trying to run 3dsCommandSubmission.py this way:

  • right click the 3dsCommandSubmission.py -> Edit with IDLE
  • in IDLE Run->Run Module
    but Python Shell prints this error:
    Traceback(most recent call last):
    File “\100.100.0.67\DeadlineRepository10\scripts\Submission\3dsCommandSubmission.py”, line 3, in
    from System import *
    ModuleNotFoundError: No module named ‘System’

On the PC that I use I have installed Python 3.8.5

What should I do to be able to run 3dsCommandSubmission.py, and to use, for example ClientUtils, in any other python script?

If you want to run scripts with the same environment Deadline uses, you’ll want to runDeadlineCommand -ExecuteScript myscript.py. Also we’re still on Python 2 for the most part, but -ExecuteScript will use the python install that comes with Deadline.

Thank you.

I want to run the 3dsCommandSubmission.py with the IDLE and to see its UI. The reason is that I want to add some stuff to it. But no matter if I open it from the DeadlineRepository10/scripts/Submission or if I copy it to the local PC and open it from there I always got error messages. This is the first one:
Traceback(most recent call last):
File “\100.100.0.67\DeadlineRepository10\scripts\Submission\3dsCommandSubmission.py”, line 3, in
from System import *
ModuleNotFoundError: No module named ‘System’

You’ll be able to edit that in IDLE, but for that script you’ll have to run it from the Monitor as I can’t get it to draw when called from DeadlineCommand.

Thank you.
I will try to do what you advised me.