Fastest way to make a dict a single comma-separated string
Posted
by ensnare
on Stack Overflow
See other posts from Stack Overflow
or by ensnare
Published on 2010-04-27T23:38:06Z
Indexed on
2010/04/27
23:43 UTC
Read the original article
Hit count: 232
I have a list of
uids: ['1234','4321','1111']
and I would like to turn this into a single string of:
"uid = '1234' OR uid = '4321' OR uid = '1111'"
What's the most efficient way to do this? Thanks!
© Stack Overflow or respective owner