- 博客(9)
- 资源 (20)
- 收藏
- 关注
原创 个人偏好网址
1. 商业评论网http://www.ebusinessreview.cn/2. 掘数成金http://www.dataguru.cn/
2015-05-29 11:06:58 964
转载 a
1. used to show that you are talking about someone or something that has not been mentioned before, or that your listener does not know aboutWe have a problem.There was a hole in the fence.Suddenl
2015-05-20 12:27:21 729
转载 Python的itertools和迭代器
1. chainimport itertoolslistone = ['a', 'b', 'c']listtwo = ['11', '22', '33']for item in itertools.chain(listone, listtwo): print item,output:a b c 11 22 332. countcout返回一个无界的迭代器import
2015-05-18 07:10:15 729
原创 Python的filter, map, reduce, lambda
1. filter(function, sequence)Do function(item) for the item of sequencereturn the item whose result is True.def f(x): return x % 3 != 0 and x % 4 != 0filter(f, range(2, 25))Out[34]: [2, 5, 7
2015-05-18 06:38:26 533
原创 Python 实现斐波那契数列 (黄金分割数列)
方法1: 使用递归 (速度较慢)# Get the Fibonacci sequence with recursive functiondef myfibn(n): assert n >= 0, "Fibonacci not for n < 0" if n == 0: return 0 elif n == 1: return 1
2015-05-16 07:46:34 1991
原创 Python 实现n阶乘
In [7]: %pastedef myfact(n): assert n >= 0, "Factorial not definied for negative values." if n < 2: return 1 else: return n * myfact(n-1)## -- End pasted text --In [8]
2015-05-16 06:42:20 42293
翻译 Python 使用递归打印输出数字 (逆序和顺序)
a. 逆序def printRev(n): if n > 0: print n printRev(n-1)In [4]: printRev(4)4321b.顺序def printInc(n): if n > 0: printInc(n-1) print nIn [6]: printInc(4
2015-05-16 06:21:30 8906 1
原创 Git使用简介
1. Github 注册UsernameUserpasswordgit config --global user.name "hello"git config --global user.email hello@example.com2. 创建Github仓库New repositoryeg. https://github.com/beyondzhou/TestGit.git
2015-05-14 10:53:02 480
原创 OpenStack源码包含的项目
Nova云主机 https://launchpad.net/nova Cinder块存储 https://launchpad.net/cinder Quantum网络管理 https://launchpad.net/quantum Glance镜像管理 https://launchpad.net/glance Horizon界面 https://launchpad.net/hor
2015-05-08 15:43:52 505
Practical Python and OpenCV, 3rd Edition.rar
2019-10-04
High Performance Python
2017-12-09
apache-maven
2017-09-06
CUDA for Engineers An Introduction to High Performance Parallel Computing
2017-06-06
load test for video publish, pull
2017-03-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人