I’ve just started working through Dive Into Python, so I don’t really have an opinion of the book yet. I did notice that Example 2.1 produces different output on my machine than from the example…
The example says I should get:
server=mpilgrim;uid=sa;database=master;pwd=secret
I get:
pwd=secret;database=master;uid=sa;server=mpilgrim
It’s interesting that this is exactly the reverse of what the book says I should get. I have no idea why, as I can’t read Python yet, but there you go.