1、shell如何向python传递参数

shell脚本

python $sendmailCommandPath $optDate

python脚本 

lastDateFormat = sys.argv[1]

 

shell如何接受python的返回值

python脚本

print "hello"

shell脚本

s=`python b.py`
printf $s

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-12-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-29
  • 2021-11-20
  • 2022-12-23
  • 2021-08-14
  • 2021-11-20
  • 2022-12-23
相关资源
相似解决方案