标签: jupyter-notebook ipython ipython-magic
如何在IPython magic command的末尾添加评论?
例如,尝试使用%cd:
%cd
%cd "dir" # comment
我想转到目录dir,但我得到:
dir
[Errno 2] No such file or directory: 'dir # comment'