码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
centos 6.5 x64编译有python的vim7.4
wget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-extra.tar.gzwget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gzwget ftp://ftp.vim.org/pub/vim/unix/v...
分类:编程语言   时间:2014-07-27 10:55:52    阅读次数:275
windows下安装python的包管理工具pip,scikit-learn
打开https://pip.pypa.io/en/latest/installing.html#python-os-support下载pip-get.py进入python,执行pip-get.py安装完pip,setuptool工具。进入.python/scripts目录,执行pip install...
分类:编程语言   时间:2014-07-27 10:47:52    阅读次数:254
【leetcode刷题笔记】Surrounded Regions
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:其他好文   时间:2014-07-27 10:42:02    阅读次数:280
Python:标准库(包含下载地址及书本目录)
下载地址中文版(扫描版)请使用迅雷下载英文版(文字版)官方文档The Python Standard Library《Python标准库》一书的目录《python标准库》 译者序 序 前言 第1章 文本1 1.1 string—文本常量和模板1 1.1.1 函数1 1.1.2 模板2 1.1.3 ....
分类:编程语言   时间:2014-07-27 10:40:12    阅读次数:370
设计模式之原型模式
原型模式目的:Specify the kinds of objects to create using a prototypical instance, and createnew objects by copying this prototype.用原型实例指定创建对象的种类,并且通过拷贝这些原型...
分类:其他好文   时间:2014-07-27 10:31:22    阅读次数:187
python随笔.文件打开方式.open
这几天学head firs python , 讲的比较浅显易懂,这本书可以当小说读了尝试使用a+方式打开文件,结果发现写入后读取不到,研究了一会才发现是因为使用a的方法打开文件,光标默认在文件末尾,此时用readline是读取不到的,要手动seek(0)代码如下:try: data = ope...
分类:编程语言   时间:2014-07-27 10:23:22    阅读次数:224
Python元组、列表、字典
python内建函数的元组、序列、字典
分类:编程语言   时间:2014-07-27 10:21:12    阅读次数:359
[LeetCode] Spiral Matrix
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.For example, Given the following matrix:[ [ 1,...
分类:其他好文   时间:2014-07-27 10:16:02    阅读次数:135
HDFS(GFS) Python实现
HDFS(GFS) Python实现实现了HDFS的最基本的功能。具体的每一步的实现过程可以在这里看到https://github.com/DanielJyc/HDFS。每一个commit都可以执行,算是记录了自己的实现过程。总体的设计框图如下:总体设计操作:上传文件到HDFS:upload?fil...
分类:编程语言   时间:2014-07-27 10:11:12    阅读次数:308
(转) Python in NetBeans IDE 8.0
原地址:https://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_8Copy this to the clipboard:http://deadlock.netbeans.org/hudson/job/nbms-and-javado...
分类:编程语言   时间:2014-07-27 10:01:12    阅读次数:255
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!