LoginSignup
0
0

More than 3 years have passed since last update.

Jupyter上でShell command loop

Posted at

Jupyter上でshell command loopできないかな?と思ってやってみたら、できたのでメモ。

for i in range(10):
    ! echo {i}

結果

image.png

引数付きのCを走らせたいけど、shell scriptとか色々書くのがだるい時に便利かも?

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0