Chris Lasher wrote:

The `s appear to somehow automagically convert the integer to a string
for concatenation. How does this work? Is this just a shortcut for
str(size)?

No, it's a shortcut for repr(size).

Is it considered bad practice to use `s?

Yes, please don't do it. I can't remember ever seeing it in production code, so many people wouldn't even know what it was. And ' vs. ` is confusing. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to