0

我在 excel 中有一个名称列表,我需要搜索商机 ID。我已经使用 Python beatbox 只为列表中的一个名称工作,但我不确定如何获取这个庞大的 excel 名称列表(可能拼写不准确)并检索机会 ID?我可以尝试任何想法吗?

query_result = svc.query("select id, Name from opportunity where Name like 'Customer A Tire Place%'")
for rec in query_result[sf.records:]:
...     print str(rec[2]) + " : " + str(rec[3])
...
00xx000000XXXJbXXX : Customer A Tire Place

谢谢你的时间,

丹麦

4

0 回答 0