美文网首页我爱编程
Python语言os模块学习笔记

Python语言os模块学习笔记

作者: 红蜻蜓q | 来源:发表于2018-05-21 11:01 被阅读0次
operating coding
Get wok directory os.getcwd()
Make directory os.mkdir('mydir')
Change directory os.chdir('mypath')
Start window word office os.system('winword')
Start vim gui os.system('gvim')
Remove a file os.remove('thisfile')*

*be careful,after it working, you can't find thisfile .

相关文章

网友评论

    本文标题:Python语言os模块学习笔记

    本文链接:https://www.haomeiwen.com/subject/ueffjftx.html