#-*- coding: cp936 -*- #首行加这个
代码里就可以加注释raw_input("Press Enter Exit") #最后一行加这个,可以直接点击脚本运行脚本l[a:b] = [c]
#即用右边的[c]完全替换a到b-1个元素http://www.cnblogs.com/zhe...
分类:
编程语言 时间:
2014-07-22 23:14:54
阅读次数:
369
Reverse Words in a
String题目链接:http://oj.leetcode.com/problems/reverse-words-in-a-string/ Given an
input string, reverse the string word by word. F...
分类:
其他好文 时间:
2014-07-22 23:13:32
阅读次数:
309
1. build path:a) source
folder:包括openfire和各插件的代码。b)
libraries:build/lib下jar包和插件下jar包,jdk/lib/tools.jar(编译jsp需要)。2. ant
build:build/build.xmla) openfir...
分类:
其他好文 时间:
2014-07-22 23:12:36
阅读次数:
489
Chapter3: The C in C++ (2)Bitwise
operators(1)The bitwise exclusive or, or xor (^) produces a one in the output
bit if one or the other input bit is a...
分类:
编程语言 时间:
2014-07-22 23:11:16
阅读次数:
618
OSBDM-JM60 - 9S08JM60 Based OSBDM — It includes
interfaces and firmwareapplied to all the targets supported by the previous open
source BDMs.It includ...
分类:
其他好文 时间:
2014-07-22 23:10:13
阅读次数:
678
简介
在软件开发过程中,版本控制是一个广为人知的概念。因为一个项目可能会需要不同角色人员的参与,通过使用版本控制软件,可以使得项目中不同角色的人并行参与到项目当中。源代码控制使得代码可以存在多个版本,而不会将代码库变得混乱,典型的场景包括Bug修复、添加新功能、版本整合等。
虽然在开发层面的版本控制...
分类:
数据库 时间:
2014-07-22 23:06:13
阅读次数:
431
Mysql常用命令:--在Mysql中,语句的结尾要么使用;要么使用\g或者\G作为结束符。进入Mysql
(---其中Your MySQL connection id is 5表示到当前为止连接到Mysql数据库的次数,Server version:
5.5.37-log Source dist....
分类:
数据库 时间:
2014-04-30 16:13:42
阅读次数:
612
#includemain(){ int a[2][3],b[3][2]; int
i,j; //input a for(i=0;i<2;i++) { for(j=0;j<3;j++) {
scanf("%d",&a[i][j]); } } // zhuanzhi b for(j=0...
分类:
其他好文 时间:
2014-04-30 16:04:17
阅读次数:
261
网页抓取和ftp访问是目前很常见的一个应用需要,无论是搜索引擎的爬虫,分析程序,资源获取程序,WebService等等都是需
要的,自己开发抓取库当然是最好了,不过开发需要时间和周期,使用现有的Open
source程序是个更好的选择,一来别人已经写的很好了,就近考验,二来自己使用起来非常快速,三来...
分类:
其他好文 时间:
2014-04-29 16:45:47
阅读次数:
749
DataSource source =
(DataSource)ic.lookup("jdbc/AiomniDB");DataSource source =
(DataSource)ic.lookup("java:comp/env/jdbc/AiomniDB");weblogic下不能加java:c...
分类:
Web程序 时间:
2014-04-29 16:37:46
阅读次数:
382