![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习
deeplearn_lyx
这个作者很懒,什么都没留下…
展开
-
Python data2
PYTHON date2: 1.如何打开文件? filename =raw_input('Enter file name: ') fobj=open(filename,‘r’) for eachLine infobj: print(eachLine) fobj.close() ‘r’ 表示已读 ‘w’ 表示写入 ‘a’ 表示添加 2.错误和异常 封装在try-except语句当中 try: fil...原创 2019-09-18 20:46:11 · 226 阅读 · 0 评论 -
Python data3
Python date1: 在虚拟机中进行python编译 [root@localhost ^]#python #vi num3.py vi中(#! /usr/bin/python print(‘helo,word!’)) #cat num3.py #ls -la rw- r --r- num3.py drwxr-x r --r- num3.py #...原创 2019-09-18 22:41:52 · 326 阅读 · 0 评论