TypeError: int argument required

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Jun 14 20:33:50 EDT 2009


In message <mailman.1565.1245019944.8015.python-list at python.org>, Rhodri 
James wrote:

> On Sun, 14 Jun 2009 10:43:30 +0100, Lawrence D'Oliveiro
> <ldo at geek-central.gen.new_zealand> wrote:
> 
>> In message <mailman.1510.1244832141.8015.python-list at python.org>, Rhodri
>> James wrote:
>>
>>> 2.  That output string has severe "leaning toothpick" syndrome.  Python
>>> accepts both single and double quotes to help avoid creating something
>>> so unreadable: use them.
>>
>> Backslashes are more scalable.
> 
> That doesn't excuse sprinkling several million backslashes through literal
> constants when there's a more readable alternative.

Perl allows just about any printable character as a quote. I tried 
alternative quotes for many years, and decided making that choice was a 
waste of brain cells.

So no, using alternative quotes does not make things more readable.




More information about the Python-list mailing list