Python 在 Spyder 窗格中重新定位窗格
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28882541/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
repositioning panes in Spyder panes
提问by jpl458
New to Python and Spyder. How do I reposition the panes in Spyder. I had them set with the editor in the upper left, the object inspector in the upper right, and the ipython console in the lower left. Somehow I messed it up, and can't figure out how to reposition them. Have crawled all over the web, but no joy.
Python 和 Spyder 的新手。如何在 Spyder 中重新定位窗格。我将它们设置为左上角的编辑器、右上角的对象检查器和左下角的 ipython 控制台。不知何故,我搞砸了,无法弄清楚如何重新定位它们。已经爬遍了整个网络,但没有任何乐趣。
Thanks
谢谢
jpl
喷气机
回答by galucero
The best way is to select what panes you want to view under the "View" tab.
最好的方法是在“查看”选项卡下选择要查看的窗格。
To stack panes simply drag and drop over each other. More details on http://www.southampton.ac.uk/~fangohr/blog/spyder-the-python-ide.html
要堆叠窗格,只需相互拖放即可。有关http://www.southampton.ac.uk/~fangohr/blog/spyder-the-python-ide.html 的更多详细信息
Section 6 Multiple windows.
第 6 节多窗口。
回答by NKoder
For Spyder IDE just go to View -> Reset window layout
对于 Spyder IDE,只需转到“查看”->“重置窗口布局”
回答by harmony123
just go to view->click on spyder default layout
只需转到查看->单击 spyder 默认布局
that should work
那应该工作
回答by Post169
Other answers are correct that you can recover past arrangements of the panes via the View/Window layouts menu, but if you want to actually create a new layout, that's another matter.
其他答案是正确的,您可以通过“视图/窗口布局”菜单恢复窗格的过去排列,但如果您想实际创建一个新布局,那就是另一回事了。
The fact is, it's pretty easy, once you know how. To move Help to the same pane that File explorer is in (in the picture below), the steps are:
事实是,这很容易,只要你知道怎么做。要将“帮助”移至文件资源管理器所在的同一窗格(如下图所示),步骤如下:
- Find Help in the same pane that Variable explorer is in, and click its tab to bring it to the front
- Click the multiple windows icon in the upper right corner of the Help pane (see where the red arrows point?)
- Help will detach from the rest of the window and you can now click & drag it to whatever pane - whether already existing or new - that you want to put it in
- 在变量资源管理器所在的同一窗格中查找帮助,然后单击其选项卡将其置于最前面
- 单击“帮助”窗格右上角的多窗口图标(看到红色箭头指向何处?)
- 帮助将从窗口的其余部分分离,您现在可以单击并将其拖动到您想要放入的任何窗格 - 无论是现有的还是新的
回答by Stardust
回答by mathieu.letombe
On windows click on the 3 bars at the upright corner of the pane, undock and move the pane where you want. On Linux unselect View > lock panes and toolbars and move your pane.
在 Windows 上,单击窗格右上角的 3 个栏,取消停靠并将窗格移动到您想要的位置。在 Linux 上,取消选择“查看”>“锁定窗格和工具栏”并移动您的窗格。