码迷,mamicode.com
首页 >  
搜索关键字:open    ( 24465个结果
centOS+jenkins发送邮件报错Unknown host name: smtp@163.com
Failed to send out e-mail java.net.UnknownHostException: smtp@163.com at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at ...
分类:其他好文   时间:2018-05-29 00:19:08    阅读次数:1754
finally小知识点
finally小知识 我们都知道无论try语句中是否抛出异常,finally中的语句一定会被执行。我们来看下面的例子: try: f = open("/tmp/output", "w") f.write("hello") #raise Exception("something wrong") fin ...
分类:其他好文   时间:2018-05-28 22:39:58    阅读次数:242
学习六十
19.1Linux监控平台介绍19.2zabbix监控介绍19.3/19.4/19.6安装zabbix19.5忘记Admin密码如何做Linux监控平台介绍cacti、nagios、zabbix、smokeping、open-falcon等等cacti、smokeping偏向于基础监控,成图非常漂亮cacti、nagios、zabbix服务端监控中心,需要php环境支持,其中zabbix和cact
分类:其他好文   时间:2018-05-28 21:51:56    阅读次数:182
open函数(待补充)
open函数用于打开一个文件,创建一个file对象,相关的方法才可以调用它进行读写 模式 描述 r 以只读方式打开文件。文件的指针将会放在文件的开头。这是默认模式。 rb 以二进制格式打开一个文件用于只读。文件指针将会放在文件的开头。这是默认模式。 r+ 打开一个文件用于读写。文件指针将会放在文件的... ...
分类:其他好文   时间:2018-05-28 21:12:41    阅读次数:148
vue-cl发布vue
npm run dev是开发环境, npm run build是生产环境, 在开发环境完成代码和测试, 之后用生产环境生成代码, npm run build的时候, 一开始就会提示Built files are meant to be served over an HTTP server. Open ...
分类:其他好文   时间:2018-05-28 17:57:14    阅读次数:735
文件操作
fr = open ('win.txt',mode='r',encoding='utf-8') win=fr.read() print('明文:'+ win) print('密文:',end='') for c in win: print(chr(ord(c)+3),end='') fw = ope... ...
分类:其他好文   时间:2018-05-28 17:24:13    阅读次数:184
040254054054
fr = open('qcj.txt',mode='r',encoding='utf-8') qcj = fr.read() print('明文:'+qcj) print('密文:',end='') fw = open('cipherText.txt',mode='a',encoding='utf-... ...
分类:其他好文   时间:2018-05-28 17:22:58    阅读次数:153
Aspen Plus Automation in Python
ap=AspenPlus() ap.open_case(r'pfdtut.bkp') ap.visible=1 print(ap.print_streams()) print(ap.print_blocks()) # ap.run() print("done") # type 'pip instal ...
分类:编程语言   时间:2018-05-28 16:53:15    阅读次数:710
文件操作
fr = open('plainText.txt',mode='r',encoding='utf-8') plainText = fr.read() print(plainText) print('密文:',end='') for c in plainText: print(chr(ord(c)+3 ...
分类:其他好文   时间:2018-05-28 16:49:50    阅读次数:153
文件操作
fr = open('iii.txt',mode='r',encoding='utf-8') plainText = fr.read() print('明文:'+plainText) print('密文:',end='') for c in plainText: print(chr(ord(c)+3 ...
分类:其他好文   时间:2018-05-28 16:49:02    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!