51CTO博客:<a href="http://zhangfengzhe.blog.51cto.com/" rel="nofollow" target="_blank">http://zhangfengzhe.blog.51cto.com/</a><br><br>
![240](https://cdn2.jianshu.io/assets/default_avatar/3-9a2bcc21a5d89e21dafc73b39dc5f582.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
IP屬地:上海
文件打開 打開文件使用open()函數(shù) 第一個參數(shù):打開的文件名 第二個參數(shù):打開模式,默認以只讀(r)去打開 相對路徑:./代表同級路徑栓辜,或者不寫 絕對路徑:從電腦的磁盤位...