It sounds like you're trying to call a file that doesn't work to execute. I'm not super familiar with Python, but if I remember right, you probably need to call Python in the command line and pass the file as a parameter.
Doing a quick google search, what I said above seems to make sense for Python's .py files.
https://stackoverflow.com/questions/57638802/the-specified-executable-is-not-a-valid-application-for-this-os-platformTry calling CMD and passing whatever arguments are expected such as the "/C python A.py" etc. as the post on stackoverflow indicates.
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company