Hi Javed,
Did you check all requirements and steps to configure your windows node? also, are you using python 3 on the Rundeck server?
I tested your job (bit a few modifications) against windows machine and it seems to work ok:
<joblist>
<job>
<context>
<options preserveOrder='true'>
<option name='mypath' value='C:\scripts'>
<hidden>true</hidden>
</option>
<option name='Upload' type='file' />
</options>
</context>
<defaultTab>output</defaultTab>
<description></description>
<dispatch>
<excludePrecedence>true</excludePrecedence>
<keepgoing>false</keepgoing>
<rankOrder>ascending</rankOrder>
<successOnEmptyNodeFilter>false</successOnEmptyNodeFilter>
<threadcount>1</threadcount>
</dispatch>
<executionEnabled>true</executionEnabled>
<id>6df7eb26-7f0f-46ed-bb60-cec9eb21b28b</id>
<loglevel>INFO</loglevel>
<name>UploadFile</name>
<nodeFilterEditable>false</nodeFilterEditable>
<nodefilters>
<filter>name: windows</filter>
</nodefilters>
<nodesSelectedByDefault>true</nodesSelectedByDefault>
<plugins />
<scheduleEnabled>true</scheduleEnabled>
<sequence keepgoing='false' strategy='node-first'>
<command>
<node-step-plugin type='copyfile'>
<configuration>
<entry key='destinationPath' value='${option.mypath}\${file.Upload.fileName}' />
<entry key='echo' value='true' />
<entry key='recursive' value='false' />
<entry key='sourcePath' value='${file.Upload}' />
</configuration>
</node-step-plugin>
</command>
<command>
<fileExtension>.py</fileExtension>
<script><![CDATA[import os
import csv
with open('@option.mypath@\@file.Upload.fileName@', "r", encoding="utf-8") as in_file:
reader = csv.reader(in_file, delimiter=',')
for row in reader:
print(row)]]></script>
<scriptargs />
<scriptinterpreter>C:\Python37\python.exe</scriptinterpreter>
</command>
</sequence>
<uuid>6df7eb26-7f0f-46ed-bb60-cec9eb21b28b</uuid>
</job>
</joblist>
Greetings!


--
You received this message because you are subscribed to a topic in the Google Groups "rundeck-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rundeck-discuss/JFJpK0Hc_0s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/ba7dbf5a-854a-42dd-a82f-cf8c49561e90n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/9c3d52a7-dc50-40e3-b01a-5561f38d22e4n%40googlegroups.com.

You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/4d90d5f0-e1d9-4c1b-9d1e-7a3b18e842b9n%40googlegroups.com.