码迷,mamicode.com
首页 >  
搜索关键字:python long string    ( 244880个结果
nyoj_308_Substring_201405091611
Substring时间限制:1000 ms | 内存限制:65535 KB难度:1描述You are given a string input. You are to find the longest substring of input such that the reversal of the ...
分类:其他好文   时间:2014-05-10 06:20:56    阅读次数:257
python组建之paramiko的简介和简单使用
参考文献: http://www.cnblogs.com/gannan/archive/2012/02/06/2339883.htmlpydoc paramikoparamiko简介paramiko是用python语言写的一个模块,遵循SSH2协议,支持以加密和认证的方式,进行远程服务器的连接。由于...
分类:编程语言   时间:2014-05-10 06:15:41    阅读次数:1770
用ajax将后台数据传入前台js
1、后台连接数据库,取到数据string sql = ".......................................";string one = OracleHelperTools.ExecuteScalar(sql); //这里图省事用的oraclehelperstring fl...
分类:Web程序   时间:2014-05-10 06:15:07    阅读次数:405
对数据库中时间为空的处理和数据转换成百分数
public System.DateTime LatestEditedTime { get; set; } public string LatestEditedTimeValue { get { ...
分类:数据库   时间:2014-05-10 06:13:39    阅读次数:365
VS2010 error RC2135: file not found
VS2010 C++ win32 DLL 工程, 添加 rc 文件, 编辑 String Table。默认情况下英文版本的 rc 文件能够顺序编译通过,为了让工程支持多语言,将字符串修改为其他语言时,编译就会出错error RC2135: file not found.解决方案参考:[经验之谈]VS...
分类:其他好文   时间:2014-05-10 06:12:44    阅读次数:275
数据类型以及相互转化
《一》数据类型(typeof)获取数据的类型;例如 var a=12; alert(typeof a);弹出的 是 Number;1. 数值number 例如 var = 12,此时变量便是一个数值2. 字符串string 例如 var a = "abc";此时数据类型便是 字符串3 对象 obje...
分类:其他好文   时间:2014-05-10 06:05:09    阅读次数:263
Python Mysql
import MySQLdb# 打开数据库连接db = MySQLdb.connect("localhost","testuser","test123","TESTDB" )# 使用cursor()方法获取操作游标 cursor = db.cursor() #cursor用来执行命令的方法:
分类:数据库   时间:2014-05-10 06:03:19    阅读次数:309
Java中main函数深入理解
最开始学习Java,接触到的应该就是main函数:Public static void main(String args[]){}但是main函数为什么要这样写,又隐藏了哪些被忽视的知识,今天深入学习一下。关键字分析 最直观的就是逐个关键字分析,1.public2.static3.参数args[]....
分类:编程语言   时间:2014-05-10 05:58:44    阅读次数:305
Jquery Ajax
jqueryajaxeachit 分类: JQueryurl: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。t...
分类:Web程序   时间:2014-05-10 05:55:24    阅读次数:222
c++标准模板库的使用
1.priority_queue priority_queue,greater >q; //小根堆,即对头元素最小; priority_queue//默认情况,大根堆,即队头元素最大。(后续更新)2.deque【双端队列】 接口类似vector(单向插入删除) c.pop_back() 弹出最后一个...
分类:编程语言   时间:2014-05-10 05:30:09    阅读次数:348
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!