In Ipython, how can I pass arguments to a cell as though it were its own script?

后端 未结 0 1807
无人及你
无人及你 2021-01-13 12:55

For instance, say I have some snippet of self-contained code in a cell,

In [1]
from sys import argv
print(argv[1])

I want to be able to pas

相关标签:
回答
  • 消灭零回复
提交回复
热议问题