Python script to Batch file

后端 未结 5 510
半阙折子戏
半阙折子戏 2021-01-03 10:26

I have a batch file that runs a python script. I am running Python 3.2. I want to send a variable like an integer or string from the python script back to the batch file, is

5条回答
  •  猫巷女王i
    2021-01-03 10:49

    You can't "send" a string. You can print it out and have the calling process capture it, but you can only directly return numbers from 0 through 255.

提交回复
热议问题