猿问

sys报错 IndexError: list index out of range

Traceback (most recent call last):

  File "C:\Users\admin\Desktop\DBC23.py", line 69, in <module>

    source_acctid=sys.argv[1]

IndexError: list index out of range

>>> 

用sys写写银行转账例子错误


if __name__=="__main__":

    source_acctid=sys.argv[1]

    target_acctid=sys.argv[2]

    money =sys.argv[3]


    conn =pymysql.connec


qq_老鱼PG_0
浏览 3736回答 1
1回答
随时随地看视频慕课网APP

相关分类

MySQL
Python
我要回答