- 博客(5)
- 收藏
- 关注
转载 sublime text
command palette(命令面板):调用:ctrl+shift+p或者tool—command palette 可以搜索命令、选项、snippet 和 syntexfiles间的切换:调用:ctrl+p或者goto—goto anything 切换文件用 Command+P 可以快速跳转到当前项目中的任意文件,可进行关键词匹配。 用 Command
2012-06-07 09:59:54
641
转载 跟我学MySQL存储过程
1.1 CREATE PROCEDURE (创建)CREATE PROCEDURE存储过程名 (参数列表) BEGIN SQL语句代码块END注意:由括号包围的参数列必须总是存在。如果没有参数,也该使用一个空参数列()。每个参数默认都是一个IN参数。要指定为其它参数,可在参数名之前使用关键词 OUT或I
2012-05-17 14:59:16
322
转载 Python字典的应用详解
字典 一.创建字典 方法①: >>> dict1 = {} >>> dict2 = {'name': 'earth', 'port': 80} >>> dict1, dict2 ({}, {'port': 80, 'name': 'earth'}) 方法②:从Python 2.2 版本起 >>> fdict = dict((['x', 1], ['y',
2012-04-18 13:11:51
271
转载 Python 字符串操作(string替换、删除、截取、复制、连接、比较、查找、包含、大小写转换、分割等)
s.strip() .lstrip() .rstrip(',') 去空格及特殊符号复制字符串Python #strcpy(sStr1,sStr2) sStr1 = 'strcpy' sStr2 = sStr1 sStr1 = 'strcpy2' print sStr2连接字符串Python #strcat(sStr1,sStr2)
2012-04-18 11:54:54
279
转载 Python:文件操作技巧(File operation)
读写文件 spath = "D:/download/baa.txt"f = open(spath,"w" ) # Opens file for writing.Creates this file doesn't exist.f.write( "First line 1.\n")f.writelines( " First line 2. " )f
2012-03-05 13:37:40
243
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人