[Tutor] Terminating "\M" characters with regard to csv.DictWriter

Alex Kleider alexkleider at gmail.com
Tue Aug 10 02:29:19 EDT 2021


On Mon, Aug 9, 2021 at 9:39 PM Cameron Simpson <cs at cskk.id.au> wrote:

> On 09Aug2021 20:47, Alex Kleider <alexkleider at gmail.com> wrote:
> >On Sun, Aug 8, 2021 at 7:26 PM Dennis Lee Bieber <wlfraed at ix.netcom.com>
> >wrote:
> >>         Are you sure it's a \M? Capital M?
> >
> >Yes, it is a capital M, here's the first line of the diff command output:
> ><
>
> >first,last,phone,address,town,state,postal_code,country,email,dues,dock,kayak,mooring,status^M
>
> That's "^M", not "\M". ^x is a common shorthand for control-x. And is
> also what the "control" key does on your keyboard. ^J => newline, ^M =>
> carriage return, etc.
>
> Cheers,
> Cameron Simpson <cs at cskk.id.au>
>


More information about the Tutor mailing list