cmd命令在ipython中的应用

cmd命令

cmd命令 描述
cd.. 返回上一文件夹
cd 文件夹名 进入下一文件夹
dir 查看当前文件夹内文件
mkdir 文件夹名 创建新的文件夹
cls 清屏
copy test.jpg test1.png 复制test.jpg,并生成test1.png
del 文件 删除文件
del *.txt 删除当前文件夹下所有.txt文件
date 查看时间
fc 1.txt 2.txt >output.txt 比较两文件相似性并生成output.txt的比较结果
cd /d 文件路径 切换文件路径
ipconfig /all 查看网络
cd.>cc.txt 创建txt文件

注意:在ipython中也可以使用cmd命令,只需要在命令前加!号
例如:! del *.png

发布了50 篇原创文章 · 获赞 19 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/qq_28368377/article/details/104015872