码迷,mamicode.com
首页 >  
搜索关键字:self    ( 14215个结果
Heterogeneous Self-Organizing Network for Access and Backhaul
This application discloses methods for creating self-organizing networks implemented on heterogeneous mesh networks. The self-organizing networks can ...
分类:数据库   时间:2014-07-22 08:01:36    阅读次数:299
python生成带参数二维码
#coding:utf8import urllib2import urllibimport jsonimport stringimport randomclass WebChat(object): def __init__(self, appid=None, secret=None, code...
分类:编程语言   时间:2014-07-22 00:25:36    阅读次数:276
Python:常用的内置函数
内置方法说明__init__(self,...)初始化对象,在创建新对象时调用__del__(self)释放对象,在对象被删除之前调用__new__(cls,*args,**kwd)实例的生成操作__str__(self)在使用print语句时被调用__getitem__(self,key)获取序列...
分类:编程语言   时间:2014-07-22 00:24:36    阅读次数:359
python threading queue
import queue,threading l=threading.Lock()class MyThread(threading.Thread): def __init__(self): threading.Thread.__init__(self) global...
分类:编程语言   时间:2014-07-22 00:20:34    阅读次数:189
C和指针 (pointers on C)——第十章:结构体和联合(下)习题
//1、这一章的习题纯粹为了刷存在感。。。 typedef struct phone { char * quhao; char * jiaohuantai; char * zhanhaoma; }; typedef struct call { char * date; char * time; phone * shiyong; phone * self; phone * huji...
分类:其他好文   时间:2014-07-21 23:16:53    阅读次数:177
iOS开发 日常错误积累
1、ios7 tableviewcell上面加入一个view,view上面有button,点击button不运行button的点击事件解决的方法:self.view.userInteractionEnabled = YES;[cell.contentView addSubview:self.view...
分类:移动开发   时间:2014-07-21 11:15:55    阅读次数:205
python3 爬虫小例子
#!/usr/bin/env python# -*- coding: utf-8 -*-import sys,reimport urllib.request,urllib.parse,http.cookiejarclass myW3(): def login(self): 'post 数据' dat...
分类:编程语言   时间:2014-07-21 08:22:06    阅读次数:354
python3 网址路径中带中文的处理办法
由于python目前不能直接处理中文路径,必须要转化一下,如下例子是下载图片(名字为中文的): def getInfo(self,imageurl): response = urllib.request.urlopen(imageurl).read().decode('utf-8')# with o...
分类:编程语言   时间:2014-07-21 08:09:58    阅读次数:210
【leetcode】Sum Root to leaf Numbers
简单的二叉树的先根遍历模板的应用 class Solution: # @param root, a tree node # @return an integer def hehe(self, num, root): #再原来的基础上*10,再加上当前的root.val num = num * 10 + root.val ...
分类:其他好文   时间:2014-07-20 22:45:33    阅读次数:299
《ASP.NET SignalR系列》第四课 SignalR自托管(不用IIS)
接着上一篇:《ASP.NET SignalR系列》第三课 SignalR的支持平台一、概述 SignalR常常依托于ASP.NET应用程序运行于IIS中,但它还可以自我托管(比如作为consolewinform、Windows service).只要我们使用self-host库就可以了.该库向所有....
分类:Web程序   时间:2014-07-20 21:33:59    阅读次数:531
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!