码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
python functools模块
functools.partial作用:functools.partial 通过包装手法,允许我们 "重新定义" 函数签名用一些默认参数包装一个可调用对象,返回结果是可调用对象,并且可以像原始对象一样对待冻结部分函数位置函数或关键字参数,简化函数,更少更灵活的函数参数调用#args/keywords...
分类:编程语言   时间:2014-06-13 13:15:42    阅读次数:252
[leetcode]Count and Say @ Python
原题地址:https://oj.leetcode.com/problems/count-and-say/题意:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 11...
分类:编程语言   时间:2014-06-13 06:23:26    阅读次数:366
第十一届GPCT杯大学生程序设计大赛完美闭幕
刚刚过去的周六(6月7号)是今年高考的第一天,同时也是GPCT杯大学生程序设计大赛颁奖的日子,下面我们用图文再回顾一下本次大赛颁奖的过程.从获奖结果统计看,在大学生群体中C++、Java、C#、Python分别以38%、32%、12%排列前3,而传统大学编程语言大户C语言占比仅为6%,也说明面向对象...
分类:其他好文   时间:2014-06-13 00:55:53    阅读次数:244
[leetcode]Trapping Rain Water @ Python
原题地址:https://oj.leetcode.com/problems/trapping-rain-water/题意:Givennnon-negative integers representing an elevation map where the width of each bar is ...
分类:移动开发   时间:2014-06-12 23:35:22    阅读次数:409
python version 2.7 required,which was not found in the registry
原地址:http://www.cnblogs.com/thinksasa/archive/2013/08/26/3283695.html安装PIL-1.1.7.win32-py2.7的时候,不能再注册表中识别出来python2.7方法:新建一个register.py 文件,把一下代码贴进去,保存##...
分类:编程语言   时间:2014-06-12 23:25:53    阅读次数:309
[leetcode]Multiply Strings @ Python
原题地址:https://oj.leetcode.com/problems/multiply-strings/题意:Given two numbers represented as strings, return multiplication of the numbers as a string.N...
分类:编程语言   时间:2014-06-12 21:43:03    阅读次数:344
The List Of Things That Are Mailed In One Form Of Bag
Leather Mulberry spent so many years. Many Mulberry handbags factory in southwest England. All bags are made from the original pattern. They are not o...
分类:其他好文   时间:2014-06-12 21:28:07    阅读次数:328
[leetcode]Jump Game @ Python
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given an array of non-negative integers, you are initially positioned at the first index of the arr...
分类:编程语言   时间:2014-06-12 18:04:54    阅读次数:540
[leetcode]Jump Game II @ Python
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given an array of non-negative integers, you are initially positioned at the first index of the ...
分类:编程语言   时间:2014-06-12 17:38:49    阅读次数:323
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!