#-*- coding:UTF-8 -*-#-*- author:Zahoor Wang
-*-import codecs, os, sys, platform, stringdef env():return platform.system()def
read_file(uri, charset =...
分类:
编程语言 时间:
2014-05-16 04:30:50
阅读次数:
306
来源:http://www.cnblogs.com/lishengpeng1982/archive/2008/04/03/1135490.html原文出处:http://blog.csdn.net/cpp2017/article/details/2244368asp.net导出到Excel也是个老生...
分类:
Web程序 时间:
2014-05-15 21:54:51
阅读次数:
322
//此方法可以一次导入百万数据public int GetDevicesExel(string
fileName, string users, out string repIMEI) { int res = 0; #region exel导入...
分类:
其他好文 时间:
2014-05-15 17:05:06
阅读次数:
250
经过几天的学习,pexpect模块对于linux下运维脚本编写属实有用,下面写个脚本检验下学习效果。#!/usr/bin/envpython
#coding=utf-8
#远程执行服务器上的脚本
importsys,time,os,multiprocessing
try:
importpexpect
exceptImportError:
print"""
Youmustinstallpexpectmodule
"..
分类:
其他好文 时间:
2014-05-15 12:55:28
阅读次数:
260
1.South简介South是Django的第三方app,专门做数据库表结构自动迁移工作。他已经成为Django数据库表迁移标准,很多第三方app都会带Southmigrations脚本。2.syncdb简介syncdb意思是数据库同步。syncdb命令是同步你的模型到数据库的一个简单方法。它会根据INSTALLED_APPS里设置的..
分类:
数据库 时间:
2014-05-15 12:43:15
阅读次数:
359
教材:《简明Python教程》Python面向对象:如shell这种面向过程的程序都是通过“操作数据的函数”或者“语句块”来设计函数。python的程序(面向对象):类是一个“class”类型,对象是类中的一个实例。类的属性包括了:域和方法。(即变量和函数)属于一个对象或类的变量被称为..
分类:
编程语言 时间:
2014-05-15 12:39:21
阅读次数:
351
Python面向对象编程详述---继承与多态...
分类:
编程语言 时间:
2014-05-15 12:26:12
阅读次数:
404
Here is a brief introduction and package of
dotfiles for linux/unix user.I think there are enough informative description
about the package.Here is th...
分类:
编程语言 时间:
2014-05-15 12:01:37
阅读次数:
370