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
Line number and execution count make copying lines harder from terminal when they are inline.
Moving them to a line above as a code comment makes it easier to copy lines of code output on a terminal
This is also what nbconvert does when converting notebook to a python file
The text was updated successfully, but these errors were encountered:
Copying the code from a notebook looks like a secondary use-case here, viewing the contents being the primary. Maybe giving the user a flag like --hide-cells or --copy which only prints the code and not In [1]: would be better than hardcoding the code comment behavior you described. What do you think?
Line number and execution count make copying lines harder from terminal when they are inline.
Moving them to a line above as a code comment makes it easier to copy lines of code output on a terminal
This is also what nbconvert does when converting notebook to a python file
The text was updated successfully, but these errors were encountered: