gpt4 book ai didi

comments - 如何在带有德语键盘的 IPython 笔记本中阻止注释代码?

转载 作者:行者123 更新时间:2023-12-04 14:57:59 26 4
gpt4 key购买 nike

如何在具有德语键盘布局的 IPython Notebook 中阻止对选定文本的评论? Ctrl-/不起作用,在德语键盘上实际上是 Ctrl-Shift-7。

最佳答案

我在 How do I comment out multiple lines in Jupyter Ipython notebook? 中找到了 Dataman 提供的针对国际键盘布局的绝佳解决方法。

Press the Alt button and keep holding it. The cursor should change its shape into a big plus sign. The next step is, using your mouse, to point to the beginning of the first line you want to comment and while holding the Alt button pull down your mouse until the last line you want to comment. Finally, you can release the Alt button and then use the # character to comment.

关于comments - 如何在带有德语键盘的 IPython 笔记本中阻止注释代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26504796/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com