码迷,mamicode.com
首页 >  
搜索关键字:except    ( 6601个结果
Python基础、异常处理
一、概述 错误与异常的概念,区别 内置异常 为什么使用异常、场景、作用 异常处理 try/except/else try/fianlly raise assert 自定义异常类 ...
分类:编程语言   时间:2016-08-03 18:28:25    阅读次数:232
python
importthreading importtime fromnetaddrimportIPNetwork,IPAddress --snip-- #监听的主机 host="192.168.0.187" #扫描的目标子网 subnet="192.168.0.0/24" #自定义的字符串,我们将在ICMP相应中进行核对。 magic_message="PYTHONRULE!" #批量发送UDP数据包 defudp_sender(subn..
分类:编程语言   时间:2016-08-03 06:49:46    阅读次数:285
asp.net mvc 4过滤器
四种基本过滤器 authorize action result exception 执行顺序 authorize -> action.onexcuting->action.excuted->result.onexcuting->result.excuted 任何阶段发生 异常 都会执行 except ...
分类:Web程序   时间:2016-08-03 01:21:13    阅读次数:153
11) 生成可执行jar文件 maven-shade-plugin
搜索 site:maven.apache.org maven-assembly-plugin http://maven.apache.org/plugins/maven-assembly-plugin/usage.html All goals except assembly:single have ...
分类:编程语言   时间:2016-08-02 23:54:23    阅读次数:281
Leetcode 136. Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime comple ...
分类:其他好文   时间:2016-08-02 20:35:55    阅读次数:170
【leetcode81】Product of Array Except Self
题目描述:给定一个长度为n的整数数组Array【】,输出一个等长的数组result【】,这个输出数组,对应位置i是除了Array【i】之外,其他的所有元素的乘积例如:given [1,2,3,4], return [24,12,8,6].要求:时间复杂度是o(n)原文描述:Given an array of n integers where n > 1, nums, return an array...
分类:其他好文   时间:2016-08-01 00:28:04    阅读次数:180
Jul_31 PYTHON REGULAR EXPRESSIONS
1.Special Symbols and Characters 1.1 single regex 1 . ,Match any character(except \n) ^ ,Match start of string $ ,Match end of string * ,Match 0 or mo ...
分类:编程语言   时间:2016-07-31 18:59:41    阅读次数:270
【leetcode78】Single Number II
题目描述:给定一个数组,里面除了一个数字,其他的都出现三次。求出这个数字原文描述:Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity....
分类:其他好文   时间:2016-07-31 16:00:13    阅读次数:120
[leetcode] 306. Additive Number
Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f ...
分类:其他好文   时间:2016-07-31 14:32:07    阅读次数:199
Leetcode 136. Single Number
136. Single Number Total Accepted: 140971 Total Submissions: 276396 Difficulty: Medium Given an array of integers, every element appears twice except ...
分类:其他好文   时间:2016-07-31 11:20:50    阅读次数:152
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!