Re: [Python-ideas] PEP 8 and long string literals

2019-02-25 Thread David B
I generally break them up and then use "".join() as that is "most readable" IMHO. The same is true for SQL queries. On 2/25/19, Jonathan Fine wrote: > On Mon, Feb 25, 2019 at 10:05 AM INADA Naoki > wrote: >> I think long URL in comment or docstring is good reason to ignore >> line length limit

Re: [Python-ideas] Easily remove characters from a string.

2016-10-22 Thread David B
I would use list comprehension even if there were some other way to translate as it is straight forward. On 10/22/16, Simon Mark Holland wrote: > Having researched this as heavily as I am capable with limited experience, > I would like to suggest a Python 3 equivalent to string.translate() that >