--2.查看表结构 desc wx_monitor_excption; --3.从表中查询数据 select * from wx_monitor_excption; --7.双引号保持原来的格式 select id "id1" from wx_monitor_excption; --6.查询当前系统的日期 select sysdate from dual; --8.查询数字时,把为空值的换为0,oracle中空值运算结果都为null select id,remark from wx_m…
In [10]: test = [1,2,"yes"] ---append(x) 追加到链尾 In [11]: test.append(1) In [12]: test Out[12]: [1, 2, 'yes', 1] ---extend(L) 追加一个列表,等价于+= In [14]: test.extend(['no','maybe']) In [15]: test Out[15]: [1, 2, 'yes', 1, 'no', 'maybe'] ---insert(i,x) …
整体大纲关于占位符 tpl = "i am %s" % "alex" tpl = "i am %s age %d" % ("alex", 18) tpl = "i am %(name)s age %(age)d" % {"name": "alex", "age": 18} 函数:len() 1:作用:返回字符串.列表.字典.元组等长度…
<UNIX环境高级编程(第3版)> 基本信息 原书名:Advanced Programming in the UNIX Environment (3rd Edition) (Addison-Wesley Professional Computing Series) 原出版社: Addison-Wesley Professional 作者: (美)W. Richard Stevens Stephen A. Rago 译者: 戚正伟 张亚英 尤晋元 出版社:人民邮电出版社 ISBN:9787…