Simon Gerber wrote: >> store.write(rate + '\n') >> >> > >With this: > > store.write(`rate` + \n') > >Note that these are not your regular sungle quotes. You'll find them >above the tab key, under escape, on most standard keyboards. > >
I have to say I don't like that. It's a too subtle difference, meaning, you really can't tell until you stop and examine closely that it's really not a ' but a `... Depending on font, they might even look alike! I'd vote for either: str(rate) or "%s" %(rate) They both are more readable, not easy to mistake for another thing and seem more python-like (to me, that is :) Just my opinion. Ismael _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
