Spyder中的Outline Explorer是什么? [英] What is Outline Explorer in Spyder?

查看:225
本文介绍了Spyder中的Outline Explorer是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到它被引用了,但是从不解释它是什么。



https://docs.spyder -ide.org/editor.html



Googled无法成功。



https://docs.spyder -ide.org/editor.html
在分隔符的右侧提供描述将在大纲浏览器中为该单元格提供自己的名称。听起来像是在导航细胞吗?我在哪里找到它?



谢谢!

解决方案

在您的代码中,您可以使用它,例如在Spyder中,在每个函数(每个函数的行上方)写入#%%之前,您会看到gui的不同之处,您会发现该块位于一个单元格中/已概述了轮廓。 / p>

,然后在轮廓窗口(启用视图>窗格>轮廓)中,您将在代码中看到每个块和轮廓


I see it referenced, but never explained what it is.

https://docs.spyder-ide.org/editor.html

Googled without success.

https://docs.spyder-ide.org/editor.html "Providing a description to the right of the separator will give that cell its own name in the Outline Explorer." Sounds like something for Navigating cells? Where do I find it? Are there shortcuts for navigating cells you create?

Thanks!

解决方案

In your code you can use this , for example in Spyder before each function ( above line of each function ) write #%% you will see the difference in gui where you will find that block is within a cell/it is outlined.

and in outlined window ( enable views > panes > outlines ) you will see the each block and outline in code

这篇关于Spyder中的Outline Explorer是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆