Python出现ValueError: need more than 1 value to unpack 的原因是什么?
fromsysimportargvscript,first,second,third=argvprint'thescriptiscalled:',script结果是Fil...
fromsysimportargvscript,first,second,third=argvprint'the script is called:',script结果是
File "D:\Python27\文件\13.参数,解包,变量.py", line 3, in <module> script,first,second,third=argv ValueError: need more than 1 value to unpack 展开
File "D:\Python27\文件\13.参数,解包,变量.py", line 3, in <module> script,first,second,third=argv ValueError: need more than 1 value to unpack 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询