Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94561
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Subject | Re: Gmail eats Python |
| References | <201507251634.t6PGYUvo028820@fido.openend.se><CAKJDb-Nh6YKM5t72O2fe3Y9cKpBSg5N=s9kEtAsn7q+JHUer6w@mail.gmail.com> |
| Date | 2015-07-25 19:04 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.985.1437843863.3674.python-list@python.org> (permalink) |
In a message of Sat, 25 Jul 2015 11:51:49 -0500, Zachary Ware writes:
>On Jul 25, 2015 11:35 AM, "Laura Creighton" <lac@openend.se> wrote:
>>
>> Gmail eats Python.
>>
>> We just saw this mail back from Sebastian Luque which says in part:
>>
>> >>> try: all_your_code_which_is_happy_with_non_scalars except
>> >>> WhateverErrorPythonGivesYouWhenYouTryThisWithScalars:
>> >>> whatever_you_want_to_do_when_this_happens
>>
>> Ow! Gmail is understanding the >>> I stuck in as 'this is from the
>> python console as a quoting marker and thinks it can reflow that.
>>
>> I think that splunqe must already have gmail set for plain text or
>> else even worse mangling must show up.
>>
>> How do you teach gmail not to reflow what it thinks of as
>> 'other people's quoted text'?
>
>Add same whitespace in front of the >'s, in plain text mode:
>
> >>> def test(): pass
> ...
> >>> print('Hi world')
> Hi world
> >>>
>
>(Hopefully that will work from my phone)
>
>--
>Zach
>(On a phone)
Worked great.
So it was my fault by sending him a reply with >>> to the far left.
I need to indent my text by some whitespace after I paste
in the results from a Python console?
Thank you Zach, I had no idea. I will change my behaviour.
Laura
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Gmail eats Python Laura Creighton <lac@openend.se> - 2015-07-25 19:04 +0200
csiph-web