当前位置:  开发笔记 > 编程语言 > 正文

如何在pycharm中制作部分

如何解决《如何在pycharm中制作部分》经验,为你挑选了1个好方法。

我刚刚从R转到Python。在R中,您可以使用

#new section####

to have the 'new section' as title in the script section list. Then, you could easily find that block of script by hitting this title within "Jump to menu" (please see figure). In this figure, the title is "reading data before 2013". I have tried to find my answer here https://confluence.jetbrains.com/display/PYH/Code+folding and here https://www.jetbrains.com/help/pycharm/code-folding.html But I am lost in terms folding, class and .... Can you please let me know a simple way to mimic this option in Pycharm?



1> DeepSpace..:

请参阅使用代码折叠注释

对于Python文件:

 #region Description
 ...
 #endregion

推荐阅读
个性2402852463
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有