4 ms·
With ipython and Deno pasting a giant amount of content is quite nice. Deno: press "`", press Ctrl-V or Command-V, press "`" Now that is in _ With ipython:
by benatkin 4y ago
With ipython and Deno pasting a giant amount of content is quite nice.
Deno:
press "`", press Ctrl-V or Command-V, press "`"
Now that is in _
With ipython:
press "'''", press Ctrl-V or Command-V, press "'''"
Now that is in _
In Deno this won't run something on Ctrl-V, until you press enter, which shows it supports bracketed paste:
`test
here`; throw new Error('ran this code without pressing enter');
`end`
In node that will run.
In ipython this won't run w/o pressing enter:
'''line
another
'''
raise RuntimeError('ran this w/o pressing enter')
'''continued'''
In python it will, if you paste it somewhere, remove the leading spaces that I added for HN, and copy and paste it again.