|
自 2021 年 1 月起,傳統文件類型將不再可用。您可以轉換傳統檔案或下載 PDF。進一步瞭解

Run Script - Python

1

評論

1 條評論

  • JP Thomas

    In case anyone runs into the same issue, I figured out how to pass the arguments through. You need to use this format and eliminate your input() functions in python if you have them and use this instead.

    sys.argv[0] will be your actual script and then 1,2,3,etc. are the arguments you want to pass in as variables.

    I also attached what I input as arguments in the chain to get it to run. Month 13 for us simply includes year end adjustments.

    if len(sys.argv) > 1:
    month = sys.argv[1]
    year = sys.argv[2]

    0

登入寫評論。