In MATLAB, there I can place the cursor on a function name and press Ctrl+D, the file containing the function will automatically open. Is there any way I can do something similar with Python, within the Spyder IDE?
在 Spyder 中,您可以通过按住跳转到函数(或类)的定义CTRL并单击函数(或类)名称/引用。如果该定义位于其他文件中,则将打开该文件。
Ctrl + 左键单击
EDIT正如@pwagner 评论的
右键单击 -> 转到定义
and
Ctrl + G
也工作
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)