zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Terminal 常用命令

2023-04-18 16:09:31 时间

放弃当前行,新起一行

control-C will kill the current prompt, abort what you're typing and start a new prompt, and set the return code to 1.

删光标前的东西

control-U deletes everything before the cursor.

The deleted command will be stored in a buffer. Press control-Y to paste the deleted command.

删光标后的东西

control-K deletes everything from the cursor to the end of the line. (Optional: Press End or control-E to jump to the end of the input first.)

查看 python3 的位置

which python3

创建虚拟设备 Creating Virtual Environments

https://docs.python.org/3/tutorial/venv.html

创建成功前面会提示进入了venv