码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
Mysql-python Mac10.9.2安装方法
文章转载地址:http://blog.csdn.net/intel80586/article/details/8487682 +http://www.myexception.cn/operating-system/1616547.htmlMAC OSX使用Python安装模块问题系统环境:MAC O...
分类:数据库   时间:2014-05-19 19:07:50    阅读次数:448
自动化运维之 ~cobbler~
一 、Cobbler简介 Cobbler是一个快速网络安装linux的服务,而且在经过调整也可以支持网络安装windows。该工具使用python开发,小巧轻便(才15k 行python代码),使用简单的命令即可完成PXE网络安装环境的配置,同时还可以管理DHCP、DNS、yum仓库、构造系统ISO...
分类:其他好文   时间:2014-05-19 18:27:00    阅读次数:530
LeetCode: Valid Parentheses [020]
【题目】 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not. 【题意】 判断给定的字符串是否是合法的...
分类:其他好文   时间:2014-05-18 10:08:11    阅读次数:327
python中的归并排序
本来在博客上看到用python写的归并排序的程序,然后自己跟着他写了一下,结果发现是错的,不得不自己操作。而自己对python不是很了解所以就变百度边写,终于在花了半个小时之后就写好了。 def merge(a, first, end, temp): if first < end: mid = (first+end)//2 merge(a, first, mid, temp) #前半部...
分类:编程语言   时间:2014-05-18 09:16:53    阅读次数:296
LeetCode 017 4Sum
【题目】 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: Elements in a quadruplet (a,b,c,d) must be in non-descending ord...
分类:其他好文   时间:2014-05-18 08:46:04    阅读次数:227
【python标准库学习】thread,threading(二)多线程同步
在一个程序中,全部变量...
分类:编程语言   时间:2014-05-18 08:20:26    阅读次数:292
LeetCode: Letter Combinations of a Phone Number [018]
【题目】 Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit string "23" Output: ["ad", "ae", "af", "bd", "be", "bf",...
分类:其他好文   时间:2014-05-18 07:30:12    阅读次数:340
Python中常见的文件对象内建函数
文件对象内建方法列表 文件对象的方法 操作 file.close() 关闭文件 file.fileno() 返回文件的描述符(file descriptor,FD,整数值) file.flush() 刷新文件的内部缓冲区 file.isatty() 判断fil...
分类:编程语言   时间:2014-05-18 06:23:28    阅读次数:197
【机器学习算法-python实现】协同过滤(cf)的三种方法实现
(转载请注明出处:http://blog.csdn.net/buptgshengod)...
分类:编程语言   时间:2014-05-18 05:13:44    阅读次数:434
LeetCode 015 3Sum
【题目】 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ≤ b ≤ c) The so...
分类:其他好文   时间:2014-05-18 03:15:50    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!