0
In [1]: %%bash
        ls

In [2]: print(# previous out of ls #)

I want to read the output of the bash cell in the following python cell in jupyter

mkmostafa
  • 3,071
  • 2
  • 18
  • 47

1 Answers1

1

Jupyter is not really designed for this, but this answer suggests a workaround.

Josh Friedlander
  • 10,870
  • 5
  • 35
  • 75