```
>>> help(print)
Help on built-in function print in module builtins: print(...) print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False) ... ...
分类:
其他好文 时间:
2018-11-27 16:58:12
阅读次数:
142
注意:以下代码均针对python3.x ,python2.x 需要把括号去掉 ,如:print ''This is the python 2. x format '' 1.print([object, ..., ]*, sep=' ', end='\n', file=sys.stdout) 输出函数 ...
分类:
编程语言 时间:
2018-11-25 20:13:12
阅读次数:
110
使用过程中发现oracle运行很慢(其实应该先关注空间问题),就准备关机重启一下,关不掉就强制关闭,然后启动就报错了。 1.SQL> startup ORACLE instance started. Total System Global Area 6614106112 bytesFixed Siz ...
分类:
数据库 时间:
2018-11-25 20:03:26
阅读次数:
229
1.今天打开数据时,失败,报错 ERROR at line 1:ORA-03113: end-of-file on communication channelProcess ID: 3880Session ID: 125 Serial number: 3 2.想看下数据库的状态,发现提示:not c ...
分类:
数据库 时间:
2018-11-24 11:40:12
阅读次数:
287
clc; clear; [Filename,Pathname,index]=uiputfile({'*.xls';'*.xlsx'},'另存为','test') if index==0 %判断对话框的操作结果 return; %如果点取消,则中断程序 end; file= [Pathname Fil... ...
分类:
其他好文 时间:
2018-11-17 23:18:03
阅读次数:
200
参考print的官方文档 在python中,print默认向屏幕输出指定的文字,例如: >>>print('hello,world')hello world print的完整格式为print(objects,sep,end,file,flush),其中后面4个为可选参数 sep在输出字符串之间插入指 ...
分类:
其他好文 时间:
2018-11-05 11:07:51
阅读次数:
202
磁盘慢,数据库启动失败:解决思路:1.让数据文件offline; 2.删除表空间SQL> startup pfile='/server/oracle/admin/test/pfile/inittest.ora' ORACLE instance started. Total System Global... ...
分类:
数据库 时间:
2018-10-22 10:51:21
阅读次数:
148
我学习C语言的时候,遇到的一个问题就是EOF。 它是end of file的缩写,表示"文字流"(stream)的结尾。这里的"文字流",可以是文件(file),也可以是标准输入(stdin)。 比如,下面这段代码就表示,如果不是文件结尾,就把文件的内容复制到屏幕上。 int c; while (( ...
分类:
其他好文 时间:
2018-10-22 01:09:31
阅读次数:
235
dic = { 'sum_size':0, 'file_num':0, 'directory_num':0}def get_size(path,txt): items =os.listdir(path) files = [] dirs = [] sum_size = 0 for item in it... ...
分类:
编程语言 时间:
2018-10-16 16:08:11
阅读次数:
401
1、缓存报错问题一 : unexpected end of file 解决方法:运行:npm cache verify 清除缓存 2、缓存报错问题二 : errno -4048(网上一般说是权限问题,其实不是,还是因为缓存问题) 解决方法:运行:npm cache clean --force 清除缓 ...
分类:
其他好文 时间:
2018-10-08 13:29:02
阅读次数:
159