码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
Python的数值类型
问题:1.Python数值有哪些?2.各类型的精度是多少?3.类型的转换是如何实现的?5.如何使用这些数据类型?需要注意什么?6.什么是不可变类型?数值类型:整型:(不可变类型)标准整型:取值范围[-sys.maxint-1,sys.maxint]长整型:可表示无限大的整数,其值仅与你机器支持的(虚拟..
分类:编程语言   时间:2014-08-10 18:51:42    阅读次数:268
iOS_20_微博自定义可动画切换的导航控制器
最终效果: AnimatedNavigationController.h // // AnimatedNavigationController.h // 20_帅哥no微博 // // Created by beyond on 14-8-10. // Copyright (c) 2014年 com.beyond. All rights reser...
分类:移动开发   时间:2014-08-10 18:47:40    阅读次数:260
UVA - 10324 Zeros and Ones
Description Given a string of 0's and 1's up to 1000000 characters long and indices i and j, you are to answer a question whether all characters between position min(i,j) and position max(i,j...
分类:其他好文   时间:2014-08-10 18:47:30    阅读次数:277
vim python配置之 pyflakes 安装
安装步骤: 1.sudo pip install pyflakes (必要时加个代理更快 -i http://e.pypi.python.org/simple)  先安装pip 2.去https://github.com/kevinw/pyflakes-vim下载pyflakes-vim插件 3.解压 4.sudo vi /etc/vim/vimrc,添加“ filetype on ...
分类:编程语言   时间:2014-08-10 18:41:50    阅读次数:2599
Hat’s Words(字典树)
Problem Description A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary. You are to find all the hat’s words in a dictionary....
分类:其他好文   时间:2014-08-10 18:40:10    阅读次数:232
HDU 1171 Big Event in HDU(多重背包)
Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Computer College had ever been split int....
分类:其他好文   时间:2014-08-10 18:33:30    阅读次数:285
windows下游戏服务器端框架Firefly安装说明及demo运行
原地址:http://blog.csdn.net/wangqiuyun/article/details/11150503本来公司一个网游服务器端选定了pomelo框架,后来出了个Firefly,为做一个对比,决定研究一下Firefly。看了一下Firefly,感觉头大,python的,本人pytho...
分类:Windows程序   时间:2014-08-10 18:26:50    阅读次数:269
qt绘制设备
#-*-coding:utf-8-*-#python:2.x__author__='Administrator'fromPyQt4.QtGuiimport*fromPyQt4.Qtimport*fromPyQt4importQtGui,QtCorefromPyQt4.QtCoreimport*imp...
分类:其他好文   时间:2014-08-10 18:17:50    阅读次数:405
Python基础篇(七)
加上两个下划线变量或者方法变为私有。 >>> class Bird: ... __song = "spark" ... def sing(self): ... return self.__song ... >>> b = Bird() >>> b.sing() 'spark' ...
分类:编程语言   时间:2014-08-10 18:12:40    阅读次数:284
qt画刷和画笔
#-*-coding:utf-8-*-#python:2.x__author__='Administrator'#画刷和画笔:QBrush定义了QPainter的填充模式,具有样式、颜色、渐变以及纹理等属性。#画刷的style()定义了填充的样式,使用Qt::BrushStyle枚举,默认值是Qt:...
分类:其他好文   时间:2014-08-10 15:38:00    阅读次数:325
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!