Here are some clips from a python script we use to manage SSL settings on WebLogic.
First thing is to install a python runtime on your targeted clients. In my case, I have WebLogic installed that understands Python.
Second is to either create or upload your python script. I create mine on the fly using createfile.
Then I create a batch wrapper to call the script. Note that python is sensitive to the execution path, so modify as needed.
appendfile @SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
appendfile call path\setWLSEnv.cmd>nul
appendfile %JAVA_HOME%\bin\java weblogic.WLST configureSSL.py
copy __appendfile "path\WLSssl.bat"
wait cmd /C “path\WLSssl.bat”>path\WLS_SSL_install.log