Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
344 views
in Technique[技术] by (71.8m points)

python - Name of arguments in a function not defined

I have defined def TrackXY_by_QI(im, QI, sho, xm, ym): Then some code follows. I return return xnw,ynw. I want to now print the result, so I type z = TrackXY_by_QI(im, QI, sho, xm, ym) print (z)

But then I get z = TrackXY_by_QI(im, QI, sho, xm, ym) 339 print (z)

NameError: name 'QI' is not defined How can I fix this?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...