码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
Unique Binary Search Trees II leetcode java
题目: Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.For example,Given n = 3, your program should return....
分类:编程语言   时间:2014-08-01 04:53:31    阅读次数:279
printNodeConAttr
def printNodeConAttr(): import re sellist = mc.ls(sl=1) all=[] D={} for a in sellist: lists = mc.listConnections(a,plugs=True,scn = True,c=1) for b in...
分类:其他好文   时间:2014-08-01 04:53:01    阅读次数:176
小白的软件测试之路
软件测试发展之路
分类:其他好文   时间:2014-08-01 04:45:41    阅读次数:291
[LeetCode 题解]: Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-08-01 04:40:11    阅读次数:166
String to Integer(atoi)
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:其他好文   时间:2014-08-01 04:35:11    阅读次数:219
修复Mysql   myisam 表
mysqlcheck-a-c-o-r-m--all-databases-uroot-p
分类:数据库   时间:2014-08-01 00:17:01    阅读次数:258
【python】获取51cto博客的文章列表
python的正则与网页操作练习二:importre importurllib.request #51ctourlcode=gb18030 classdown51web: s_url=‘‘ s_blogid=‘‘ s_blogpages=‘‘ s_html=‘‘ s_code=‘‘ def__init__(self,url,code): self.s_url=url self.s_code=code defget_html(self): self.s_html=urllib.r..
分类:编程语言   时间:2014-08-01 00:14:21    阅读次数:334
python 学习第一天
python学习了好久,发现还是个小白,python还是不会用,从今天起每天学写一点小程序,做个打不死的小强。相关知识:列表,字典#!/usr/bin/envpythonpeople={‘yong‘:{‘phone‘:‘123‘,‘addr‘:‘Shanghai‘},‘bu‘:{‘phone‘:‘456‘,‘addr‘:‘Wuhan‘},‘yan‘:{‘phone‘:‘789‘,‘addr‘:‘Henan..
分类:编程语言   时间:2014-08-01 00:13:51    阅读次数:253
centos6.3升级python至2.7.5
centos6.3自带的python版本是2.6.6,有时候需要升级到2.7。这里记录一下升级过程,方便查阅。实际上是转载自http://flyingdutchman.iteye.com/blog/1885564。1.安装gcc。yum install gcc gcc-c++ 2.下载python-...
分类:编程语言   时间:2014-07-31 23:26:20    阅读次数:219
实习学到东西汇总(持续拓展)——Python
Part1 文件操作1.打开文件2.新建文件夹,文件3.写入文件(保存数据到指定文件)4.循环遍历文件Part2 路径操作1.当前路径2.增加路径Part3 其他1.如何调用不同文件夹下的模块2.底层函数(硬件层)不能调用上层模块(函数),若非要调用,用register(创建Callback回调)3...
分类:编程语言   时间:2014-07-31 23:19:40    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!