using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
Microsoft.Office.Interop.Excel;namespace Reuters.ProcessQualit...
分类:
其他好文 时间:
2014-05-16 19:54:35
阅读次数:
286
这个 paste 就要比 join 简单多了!相对于 join 必须要比对两个文件的数据相关性,
paste 就直接『将两行贴在一起,且中间以 [tab] 键隔开』而已!简单的使用方法:[root@www ~]# paste [-d] file1
file2选项与参数:-d :后面可以接分隔字...
分类:
系统相关 时间:
2014-05-16 19:05:10
阅读次数:
495
join 看字面上的意义 (加入/参加)
就可以知道,他是在处理两个文件之间的数据,而且,主要是在处理『两个文件当中,有"相同数据"的那一行,才将他加在一起』的意思。我们利用底下的简单例子来说明:[root@www
~]# join [-ti12] file1 file2选项与参数:-t :j...
分类:
系统相关 时间:
2014-05-16 18:42:37
阅读次数:
478
这个 paste 就要比 join 简单多了!相对于 join 必须要比对两个文件的数据相关性,
paste 就直接『将两行贴在一起,且中间以 [tab] 键隔开』而已!简单的使用方法:[root@www ~]# paste [-d] file1
file2选项与参数:-d :后面可以接分隔字...
分类:
系统相关 时间:
2014-05-14 07:10:40
阅读次数:
302
LINQ:Language INtegrated
Query,语言集成查询。以下内容演示如何利用LINQ进行增加,修改,删除和查询操作,针对数据库。首先创建Linq
Class。添加数据库信息,直接Add一个Connection,输入服务器和登录ID,测试连接成功。现在可以看到数据库里面的信息了,比...
分类:
其他好文 时间:
2014-05-13 20:46:42
阅读次数:
333
#!/usr/bin/envpython#coding:utf8#此脚本为查找递归目录下所有文件匹配的内容importos,sys,tabdefpaths(path):list_path=os.walk(path)all_file=[]forp,d,flinlist_path:forfinfl:pfile=os.path.join(p,f)ifos.path.isdir(pfile):paths(pfile)all_file.append(pfile)returnall..
分类:
编程语言 时间:
2014-05-13 03:49:34
阅读次数:
426
#!/usr/bin/envpython#coding:utf8importos,sys,glob,time,MySQLdb,reDIRNAME=os.path.dirname(__file__)OPSTOOLS_DIR=os.path.abspath(os.path.join(DIRNAME,‘..‘))sys.path.append(OPSTOOLS_DIR)fromlibrary.mysqlconfigimportMySQLDConfig,getMyVariablesfromoptparseimport..
分类:
数据库 时间:
2014-05-13 02:46:59
阅读次数:
809
#!/usr/bin/envpython#coding:utf8#随机生成自定义长度密码fromrandomimportchoiceimportstring,pickledefGenPassword(length=8,chars=string.ascii_letters+string.digits):return‘‘.join([choice(chars)foriinrange(length)])defpasslist(r_user,c_user,ip_list,web_list):di..
分类:
编程语言 时间:
2014-05-13 01:25:56
阅读次数:
505
前台:[切记:每个表单元素, 都应该带有name,
否则是取不到的。]姓名:密码:性别:男女爱好:足球象棋留言:+|籍贯:后台:[csharp] view
plaincopyusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;us...
分类:
Web程序 时间:
2014-05-12 02:35:07
阅读次数:
473
第一次写记录文章,难免有不足之处;欢迎指出。1、新建一个mvc项目如:2、新建一个Test.cs 注意get,set方法不能简写using
System;using System.Collections.Generic;using System.Linq;using
System.Web;names...
分类:
Web程序 时间:
2014-05-11 17:18:55
阅读次数:
517