Using pipe in a system call

Emile van Sebille emile at fenx.com
Sat Oct 10 10:44:15 EDT 2015


On 10/10/2015 4:42 AM, Cecil Westerhof wrote:
>> >To avoid this, I have adopted this habit -
>> >
>> >export_spreekwoorden = (
>> >"SELECT spreekwoord "
>> >"FROM spreekwoorden "
>> >"ORDER BY spreekwoord COLLATE LOCALIZED"
>> >)
>> >
>> >To my eye, the result is nicer, at virtually no extra effort. Just
>> >don't forget the trailing space on all but the last line.
> Good idea, I will adopt it. With one modification: I also put a
> trailing space on the last line. That makes it easier when you extend
> the query.;-)

I've done the same, but find that leading spaces work better for me -- 
they line up nicely on the left rather than the trailing ragged edge.

Emile






More information about the Python-list mailing list