On Sat, Apr 18, 2020 at 9:27 PM lewis <[email protected]> wrote:

> Using
> p.b = '\n'.join(result)
>

You can strip away all blanks lines as follows:

result = [z.rstrip() for z in result]

Other approaches are possible too.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS2yoM9RDjrvgc3eb_S94mkMm_6oMk5HoVxJVSmNgo%3DfOA%40mail.gmail.com.

Reply via email to