Skip to content
This repository

E-mail cpaste broken #1166

Closed
stefanv opened this Issue · 1 comment

1 participant

Stefan van der Walt
Stefan van der Walt

Cpasting the following snippet gives a syntax error:

> a = np.array([
>              [0,1,1,0,0,0],
>              [0,1,1,0,1,0],
>              [0,0,0,1,1,1],
>              [0,0,0,0,1,0]])
Stefan van der Walt

Email clients seem to convert some characters to unicode. Not much we can do about that. E.g., the following snippet works fine:


> import numpy as np
> a = np.array([
>     [0,1,1,0,0,0],
>     [0,1,1,0,1,0],
>     [0,0,0,1,1,1],
>     [0,0,0,0,1,0]])

Closing.

Stefan van der Walt stefanv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.