码迷,mamicode.com
首页 >  
搜索关键字:recent    ( 1003个结果
python 输出字符串如果遇到字典
>>> d = {'a':1}>>> print '%s' % 1,d1 {'a': 1}>>> print '%s %s' % 1,dTraceback (most recent call last): File "", line 1, in TypeError: not enough argu....
分类:编程语言   时间:2014-09-28 04:29:10    阅读次数:203
Android4.4 近期任务列表RecentsActivity与RecentTasksLoader
android4.4\frameworks\base\packages\SystemUI\src\com\android\systemui\recent\RecentsActivity.java 此函数是打开最近应用点击空闲地方跳转     public void dismissAndGoHome() {         if (mRecentsPanel != null) {    ...
分类:移动开发   时间:2014-09-25 16:12:09    阅读次数:322
<<Python基础教程>>学习笔记 | 第08章 | 异常
------ 什么是异常:Python用异常对象(exception object)来表示异常情况.如果异常信息未被处理或捕捉。 程序就会用回潄来终止执行 >>> 1/0 Traceback (most recent call last): #Traceback: 一种错误信息 File "", line 1, in ? ZeroDivisionError: integer division or modulo by zero 每个异常都是一些类的实例,这些实例可以被引发,并且可以用很...
分类:编程语言   时间:2014-09-24 22:54:38    阅读次数:350
oh-my-zsh安装与配置
1.安装与配置 Setup oh-my-zshshould work with any recent release of Zsh. The minimum recommended version is 4.3.9. If not already installed, you can install Zsh using the command-line. The automatic...
分类:其他好文   时间:2014-09-22 16:22:53    阅读次数:301
POJ DFS2386
最简单的DFS Lake Counting Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 20516   Accepted: 10338 Description Due to recent rains, water has pooled in various pla...
分类:其他好文   时间:2014-09-20 10:08:07    阅读次数:259
Python,异常 exception
同Java一样,Pyton异常对象来表示异常情况。遇到错误后,引发异常,如果异常对象并未对处理或捕捉,程序就会用所谓的回溯(Traceback)来终止执行; >>> 1/0 Traceback (most recent call last): File "", line 1, in ZeroDivisionError: division by zero    程序可以通过rais...
分类:编程语言   时间:2014-09-19 17:37:55    阅读次数:251
Introduction to Deep Learning Algorithms
Introduction to Deep Learning AlgorithmsSee the following article for a recent survey of deep learning:Yoshua Bengio, Learning Deep Architectures for ...
分类:其他好文   时间:2014-09-19 09:56:55    阅读次数:240
【MongoDB】Serveral common command of MongoDb
In the recent days, since the overwork made me exhaused, on arrival to home I will go to bed, which leads to loss of blogs that should have been written in the past days.  Now  I make a summay to all...
分类:数据库   时间:2014-09-19 02:20:04    阅读次数:323
FORTIFY_SOURCE
In recent years Linux distributions started treating security more seriously. Out of many security features two are directly affecting C programmers:-...
分类:其他好文   时间:2014-09-18 14:31:34    阅读次数:589
assert函数(python)
assert语句:用以检查某一条件是否为True,若该条件为False则会给出一个AssertionError。用法:assert type(x)=int and x>=0如果不满足后面的expression,则会弹出Traceback (most recent call last): File ....
分类:编程语言   时间:2014-09-15 19:16:59    阅读次数:599
1003条   上一页 1 ... 93 94 95 96 97 ... 101 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!