filmov
tv
Bang! Unix shell magic inside of Jupyter
Показать описание
Are you using Jupyter (or IPython)? Want to run a Unix command without opening a terminal window or shell? You can do it with the ! (exclamation point, or "bang") character.
It turns out that's just the start, though — you can pass Python variables to the shell, and you can get results back from it in a special data structure packed with functionality.
It turns out that's just the start, though — you can pass Python variables to the shell, and you can get results back from it in a special data structure packed with functionality.