码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
Python-基础数据类型
Numbes:integerfloat pointcomplex: e.g. (-5+4j)Strings:单引号双引号用法一致,三个单引号或三个双引号表示多行字符串'''first linesecond line,third line.'''raw strings:让转义字符变为一般字符r'New...
分类:编程语言   时间:2014-09-06 12:13:03    阅读次数:253
Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:其他好文   时间:2014-09-06 12:09:23    阅读次数:129
centos 6.x 安装Mysql
安装之前应该先查询系统是否自在了mysql的软件包? ????rpm -qa|grep -i mysql #如果有的话需要先删除 rpm -e 软件名 --nodeps #To see all files in an RPM package (for example, a MySQL-server RPM), ru...
分类:数据库   时间:2014-09-06 11:06:53    阅读次数:256
Leetcode: Subsets II
Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending order...
分类:其他好文   时间:2014-09-06 07:32:22    阅读次数:239
Leetcode: Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.N...
分类:其他好文   时间:2014-09-06 05:27:22    阅读次数:223
edwin报警和监控平台近期的更新(python源码)
edwin从发布以来, 得到了不少关注, 获得了不少star. 最近又做了一些很有意义的改进, 同时完善了部分文档. 项目地址: https://github.com/harryliu/edwin , 欢迎fork或PR, 如果喜欢, 请打star. 再次介绍一下edwin项目edwin是一个报警和...
分类:编程语言   时间:2014-09-06 02:13:02    阅读次数:563
Numpy中使用矩阵
Numpy是Python中的一个矩阵计算包,功能类似于MATLAB的矩阵计算。具体可参见网站http://www.numpy.org/。安装Pythonxy时已经包含了numpy包及其依赖包。 (1) 定义矩阵 >>> from numpy import * >>> a = array([[1,2.2,3],[4,5,6]]) >>> a.ndim 2 >>>...
分类:其他好文   时间:2014-09-06 01:09:02    阅读次数:744
python-pip 的安装
1.wget https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz --no-check-certificate2. #chmod +x pip-1.3.1.tar.gz #tar xzvf pip-1.3.1.tar.gz ....
分类:编程语言   时间:2014-09-06 00:59:12    阅读次数:237
Python -- random 随机数生成
Python中的random模块用于生成随机数。下面介绍一下random模块中最常用的几个函数。 random.random random.random()用于生成一个0到1的随机符点数: 0 random.uniform   random.uniform的函数原型为:random.uniform(a, b),用于生成一个指定范围内的随机符点数,两个参数其中一个是上限,一...
分类:编程语言   时间:2014-09-05 23:53:52    阅读次数:473
oracle 数据库登陆
管理员登陆语句账号要加上 as sysdba 例如:sys as sysdba显示当前用户 SHOW USER;显示系统拥有哪些用户 SELECT * FROM all_users;新建用户并授权 CREATE USER USER_NAME IDENTIFIED BY USER_PASSWORD; ...
分类:数据库   时间:2014-09-05 23:43:32    阅读次数:277
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!