7. 15. 2. List Comprehensions in build Connection String, Step by Step
params = {"server":"yourServer", "database":"master", "uid":"sa", "pwd":"secret"}
print params.items()
print [k for k, v in params.items()]
print [v for k, v in params.items()]
print ["%s=%s" % (k, v) for k, v in params.items()]