码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
BNU25359Escape Time II(状态压缩DP)
There is a fire in LTR ’ s home again. The fire can destroy all the things in t seconds, so LTR has to escape in t seconds. But there are some jewels in LTR ’ s rooms, LTR love jewels very much so h...
分类:其他好文   时间:2014-08-29 22:45:58    阅读次数:308
ArcGIS Python实现Modis NDVI批量求年最大值
一年中的12个月份的月最大合成(mvc)数据放在“F:\\Vegetation Change\\Data\\GIMMS Data\\1MVC\\",数据名称格式为mvc_198801,mvc_198802........mvc_198812。处理年份为1981-2006,代码为: import arcpy arcpy.CheckOutExtension("spatial") for i in r...
分类:编程语言   时间:2014-08-29 22:44:28    阅读次数:333
LeetCode 112 Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below binary tree and sum ...
分类:其他好文   时间:2014-08-29 22:42:32    阅读次数:328
C# WebQQ协议群发机器人(一)
之前我也写过一篇使用python来实现的一个版本 现在我用c#语言改写过后也放出源码来让大家学习,希望大家喜欢,不懂的相互交流, 目前我实现的一些功能包括  第一次登录  二次登陆 获取群信息  获取群好友 发送群消息 发送消息给好友 先给出一些webqq的一些参数吧   psessionid 这个是在第二次登录的时候在 cookie中的一个重要的值,在后面获取群信息,获取好友信息等 都...
分类:Web程序   时间:2014-08-29 22:41:58    阅读次数:417
iOS代码实现:创建按钮,绑定按钮事件,读取控件值
//// main.m// Hello//// Created by lishujun on 14-8-28.// Copyright (c) 2014年 lishujun. All rights reserved.//#import // 视图控制器对象@interface HelloWo...
分类:移动开发   时间:2014-08-29 22:39:08    阅读次数:246
SQL SERVER 2008 笔记
1. Database Objects:The database itself IndexesThe transaction log CLR assembliesTables ReportsFilegroups Full-text catalogsDiagrams User-defined data...
分类:数据库   时间:2014-08-29 22:37:38    阅读次数:186
Python 解析ini文件 By ConfigParser
Python 解析ini文件 By ConfigParserini文件是windows中经常使用的配置文件,主要的格式为:[Section1]option1 : value1option2 : value2python提供了一个简单的模块ConfigParser可以用来解析类似这种形式的文件。对于C...
分类:编程语言   时间:2014-08-29 22:35:48    阅读次数:332
最长字串问题,python实现
这篇博客的目的是为了提醒自己,以后笔试一定得及时交啊?!!!! 阿里笔试的最后一个题,我顺手就写python实现,代码如下,不知道对不对,反正当时好几个数据都过了。 不过,反正没交上去,那个题填代码的地方是空的,对错都没用了。先记下,改天细究: def largest_common(query, text, is_first_same): if (len(query) == 0 or...
分类:编程语言   时间:2014-08-29 21:26:08    阅读次数:297
Python-赋值
>>> spam, ham = 'yum', 'YUM'>>> spam'yum'>>> ham'YUM'>>> [spam, ham] = ['yum', 'YUM']>>>[spam, ham]['yum', 'YUM']>>> a,b,c,d = 'spam'>>> a's'>>> b&#
分类:编程语言   时间:2014-08-29 21:17:10    阅读次数:312
CLGeocoder基本使用
//// HMViewController.m// 02-地理编码//// Created by apple on 14-8-7.// Copyright (c) 2014年 heima. All rights reserved.//#import "HMViewController.h"#...
分类:其他好文   时间:2014-08-29 21:15:48    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!