我有一位词典,我想利用这些物品(钥匙,价值)产生单一方位,我将把这一论点转嫁给另一个关于指挥线的文字。
Snippet illustrates further:
args = { arg1 : 100, arg2 : 234 }
I want to create the string:
--arg1=100 --arg2=234
from the dictionary.
The naive (expensive) way to do that would be to loop through the items in the dictionary, building the string as I went along.
这样做有没有更长的征兆?