码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
spftlayer 安装及简单使用
1,yum -y install python-pip;pip(Python packet index);2,pip install/update softlayer;3,sl --help;
分类:其他好文   时间:2014-09-03 13:02:56    阅读次数:193
The Bags Can Hold Up To 3 Kilograms And They Are Commonly Used In Gift Stores
So, to all exposed surface of the tile and painted. Therefore, we have compiled a list of mistakes that people make when choosing a company for their ...
分类:其他好文   时间:2014-09-03 13:01:56    阅读次数:237
使用windows live writer写cnblog-1 安装wlr
Writer:在本地编辑有声在色的博客内容,发布到你的网络博客! 离线安装文件下载地址:http://dx1.itopdog.cn/soft/wlsetup-all.rar 下了好几个离线版本的,都是提示下面的信息。 只好在线安装了 官方的下载连接: http://wl.dlservice.micr...
分类:Windows程序   时间:2014-09-03 13:00:26    阅读次数:304
Python冒泡排序
冒泡排序,顾名思义,按照一定的规则,把数据一直排下去直接上代码 1 import random 2 3 def bubblesort(data): 4 change=True 5 for i in range(len(data)-1,1,-1): 6 for j i...
分类:编程语言   时间:2014-09-03 12:54:46    阅读次数:184
Python Generator
python 生成器 底层机制
分类:编程语言   时间:2014-09-03 12:51:56    阅读次数:218
PHP 写文件的例子
$contents = "All the content"; $dir = 'c:'; $file_path = $dir . "\\content.txt"; if(is_writable($file_path)) { file_put_contents($file_path , $con...
分类:Web程序   时间:2014-09-03 12:50:26    阅读次数:163
Python快速排序
快排,取一个key值,一般取第一个即可,将小于key的放到左边,大于key的放到右边,递归实现 1 import random 2 def quicksort(data, low = 0, high = None): 3 if high == None: 4 high = l...
分类:编程语言   时间:2014-09-03 12:48:36    阅读次数:343
Python学习--字符串slicing
Found this great table athttp://wiki.python.org/moin/MovingToPythonFromOtherLanguagesPython indexes and slices for a six-element list.Indexes enumerat...
分类:编程语言   时间:2014-09-03 12:46:36    阅读次数:294
windows下使用cxfreeze打包python3程序
1:下载适合版本的cxfreezehttp://sourceforge.net/projects/cx-freeze/files/4.3.2/ 2:安装,注意python版本是否正确3:安装完成后,会在python的Scripts文件夹下生成文件在命令行中键入 cxfreeze --help 和cx...
分类:编程语言   时间:2014-09-03 12:40:16    阅读次数:557
Java的HashMap是如何实现的?
HashMap.java源代码:/** Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to.....
分类:编程语言   时间:2014-09-03 12:37:16    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!