You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Up on closer inspection it is the server side this is what I got Notebook.handle_shell_reply in e.data
{"parent_header":
{"username":"username","msg_id":"49C2620FD9F34A4FAD75D5655CC7415E",
"msg_type":"execute_request",
"session":"439FD9883D22482098055D869FC61668"},
"msg_type":"execute_reply",
"msg_id":"a7f8a644-4959-470b-bedf-cdb7fdc58e90",
"content":
{"status":"ok",
"execution_count":10,
"user_variables":{},
"payload":
[{"text":"#single new line after this\n\n#double new line after this\n\n\n\n#triple newline after this\n\n\n\n\n\n#no newline at the end",
"source":"IPython.zmq.zmqshell.ZMQInteractiveShell.set_next_input"}],
"user_expressions":{}},
"header":
{"username":"kernel",
"session":"e49e9d26-4fdc-419d-b51d-364299bdc070",
"msg_id":"a7f8a644-4959-470b-bedf-cdb7fdc58e90",
"msg_type":"execute_reply"}
}
1 new line got converted into 2 new lines
2 new lines got converted into 4 new lines
3 new lines got converted into 6 new lines
I suspect that it double count /r/n as two new lines. When I use %loadpy from python notebook(from stable 0.12) I expect something like
But I got something like
The text was updated successfully, but these errors were encountered: