in the custom menu script file to run I wrote: python script.py $COMPLETE_JSON_FILE $HTML_DATA_JSON_FILE
I try to read input in the script with this line : attachment_name= sys.argv[2]
I believe that the error is in the html file because I can't alert attachment name. also I can't understand the last portion of the js script and the role of servlet here.