操作技巧——vscode.git.

1.git log 一定要在想查看的文档的目录下,可查看修改日期 按q退出

2.windows + r 然后cmd,输入wsl就可以进入wsl系统

3.Linux 命令

windows + 空格 切换输入法

判断是否是可执行文件 输入ls

绿色是可执行文件,白色是不可执行文件

colcon build

python 复制代码
#!/usr/bin/python3
###注意加了此前缀后,如果是可执行文件,该文件运行时有两种方法

print("hello world")


#一种是 python hello_world.py
#另一种是./hello_world.py 


终端运行
chmod a+x hello_world.py  
可以将该文件转为可执行文件

#终端运行

#chmod a+x hello_world.py 可以将该文件转为可执行文件

1.python 运行

python 复制代码
python hello_world.py

2.c++ 运行

cpp 复制代码
g++ hello_world.cpp
./a.out

1.printenv | grep AMENT

2.pwd--------------查看当前目录

3.ctrl + c 打断施法

相关推荐
中年程序员一枚1 天前
python开发接口uvicorn方法启动FastAPI,postman调用接口
python·postman·fastapi
中年程序员一枚1 天前
让postman调用python的开发接口,链接sqlite数据库,让前后联动起来
数据库·python·postman
yuezhilangniao1 天前
Windows 系统变量未完全清楚 - 代理执行一半 导致 pip 和 Postman 连接失败的解决指南
windows·postman·pip
石头wang2 天前
postman如何设置鉴权authorization header(怎么只设置一次,统一管理,不要每个request重复设置)
测试工具·lua·postman
R.lin2 天前
换掉 Postman,我用它Reqable
测试工具·postman
一念一花一世界3 天前
PostIn从基础到实践(5) - 对接口进行快捷调试
postman·postin·api调试·接口管理工具
一点事4 天前
用postman,如何调用webservice接口?
测试工具·postman
咨询QQ688238864 天前
非线性悬架建模与UKF状态估计:Matlab/Simulink源码与详细建模说明
postman
彼岸花@开4 天前
postman配置jdk自签证书的双向认证功能
jdk·postman