vim基础:为python添加多行注释—s/^/#/g

 时间:2024-10-13 15:23:29

1、打开Windows Terminal

vim基础:为python添加多行注释—s/^/#/g

2、输入vim test.py新建一个python脚本

vim基础:为python添加多行注释—s/^/#/g

3、输入简单的python代码

vim基础:为python添加多行注释—s/^/#/g

4、输入s/^/#/g 代表注释当前行

vim基础:为python添加多行注释—s/^/#/g

5、指定行注释1,3s/^/#/g在上一步的基础上我们加入行数范围即可选择指定行进行注释

vim基础:为python添加多行注释—s/^/#/g
  • 严重烧糊的锅该怎么立刻处理
  • 意大利面酱的制作方法
  • 兰州拉面怎么做?
  • 清洗青辣椒简便方法
  • 奶香玉米饼怎么做
  • 热门搜索
    homework是什么意思 突如其来是什么意思 什么是伪娘 otg连接是什么意思 意思相近的成语 乏味的意思 窥伺的意思 program files是什么意思 whom是什么意思 蝉联是什么意思