jupyter-notebook - 如何在 IPython 魔术命令后添加评论
问题描述
如何在IPython 魔术命令的末尾添加评论?
例如,尝试使用%cd
:
%cd "dir" # comment
我想更改目录dir
,但我得到:
[Errno 2] No such file or directory: 'dir # comment'
解决方案
推荐阅读
- javascript - 如何在 jwplayer 中禁用播放列表最后一个视频的 Next Up Card
- java - 我如何使用 Collections.sort 打印单词集合并打印单词的第一个字母
- javascript - 百度的 echarts - 填满两行之间的空间
- java - 从文本文件中获取所有单词(Java)
- c - 有人问我这段代码有什么问题
- javascript - 带有 React 的 Ant Design,菜单无法在移动设备上呈现
- python-3.x - 我们是否可以使用 csv 文件将算法的一部分连接到另一部分
- imgur - imgur 中回调 URL 的用途
- javascript - 将对象推送到对象数组中,但前提是对象属性是唯一的
- css - 使用 svg 心形图标并使用 CSS 更改轮廓颜色