简体   繁体   English

go如何回到终端?

[英]How to go back in the terminal?

I am new to using the terminal for Python.我是使用 Python 终端的新手。 I was using MAC terminal and wrote我正在使用MAC终端并写

name = "name" and then I typed dir(name) I wanted to use help to see what title function does and hence wrote help(name.title). name = "name" 然后我输入 dir(name) 我想使用帮助来查看 function 的标题是什么,因此写了 help(name.title)。 The screenshot shows what I get as output but I can't seem to exit this and go back to my old code anymore.屏幕截图显示了我得到的 output 但我似乎无法退出这个并且 go 回到我的旧代码了。 Any help would be appreciated.任何帮助,将不胜感激。 Also, the people who use terminal for Python, how should I learn it?另外,使用Python终端的人,我该怎么学呢? I am trying to get better at coding in my university holidays.我正努力在大学假期里更好地编码。

在此处输入图像描述 Thanks谢谢

Did you try cmd+d or d in your terminal?您是否在终端中尝试过 cmd+d 或 d ?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM