Bootstrap—由less来架构Bootstrap分类:css2012-12-11
15:393363人阅读评论(0)收藏举报目录(?)[+]众所周知,less是一种动态样式语言,
bootstrap基于less来编写是为了让bootstrap能够继承less的优势,如变量,继承,运算,函数。如...
分类:
其他好文 时间:
2014-05-10 08:17:50
阅读次数:
381
这篇文章总结了关于Java构造的常见??问题。
1)为什么创建一个子类对象要也需要调用父类的构造函数?
class Super {
String s;
public Super(){
System.out.println("Super");
}
}
public class Sub extends Super {
public Sub(){...
分类:
编程语言 时间:
2014-05-09 22:44:26
阅读次数:
443
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> def strQ2B(ustring):
#把全角字符串转半角
ustr...
分类:
编程语言 时间:
2014-05-09 22:27:33
阅读次数:
342
字符串是单个字符的字符串序列,有序字符的集合。
Python允许字符串包括在双引号或单引号中(代表相同的东西)。
序列操作
索引
正向索引,反向索引
分片
包括左边,不包括右边
左边默认为0,右边默认为len(str)
可以设置读取的间隔
合并+、重复*
不可变性
创建后就不能被改变,不能对某一位置赋值
常用表达式
str='' :空字...
分类:
编程语言 时间:
2014-05-09 22:02:45
阅读次数:
410
更多信息访问个人博客:http://cloudbps.com接到需求帮朋友监控一个信息网站,当该网站有相关的数据更新的时候发送信息到指定邮箱.下面是相关的python脚本,用到了httplib,time,sys,smtplib模块#!/usr/bin/envpython#coding=utf8importhttplib,time
importsys
importsmtplib
reloa..
分类:
编程语言 时间:
2014-05-09 21:41:15
阅读次数:
439
安装pomelo时发现:错误解释:node-gyp和node的版本不一致,有可能是python版本太低,默认是2.6.6最后更改node版本和python版本node版本是10.2.6python版本是2.7.3再次重新安装无错误
分类:
其他好文 时间:
2014-05-09 21:32:43
阅读次数:
451
importtypesaaa=0printtype(aaa)iftype(aaa)istypes.IntType:print"thetypeofaaaisint"ifisinstance(aaa,int):print"thetypeofaaaisint"bbb=‘hello‘printtype(bbb)iftype(bbb)istypes.StringType:print"thetypeofbbbisstring"ifisinstance(bbb,str):print"thetypeofbbbisstring..
分类:
编程语言 时间:
2014-05-09 21:28:19
阅读次数:
474
一、安装pomelo安装前准备:根据需要安装相应版本的Python和node[root@AY14041810545836988bZopt]#python--versionPython2.6.6一、下载Python2.7.3,此版本是适合node-gpy的#wgethttp://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz22.#tar-jxvfPython-2.7.3.tar.bz23.cdP..
分类:
其他好文 时间:
2014-05-09 21:27:46
阅读次数:
493
当我们在Launcher界面单击一个应用程序图标时就会启动一个程序,那这一个过程究竟发生了些哪样呢?让我们跟踪Launcher源码来分析一下吧。先上流程图:step1、追踪Launcher从源码中我们可以发现Launcher其实也是一个程序,它继承于Activity。找到该文件中的onCreate()方法,代码..
分类:
移动开发 时间:
2014-05-09 21:22:25
阅读次数:
497
Yet another easy-to-understand, easy-to-use aws s3 python sdk code examples....
分类:
编程语言 时间:
2014-05-09 20:51:39
阅读次数:
703