我刚刚从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".
请参阅使用代码折叠注释
对于Python文件:
#region Description ... #endregion