forked from pythonpeixun/article
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1e1335
commit 609513e
Showing
12 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,9 @@ | |
代码但自己不能动手写代码的原因。编程思路是一样的,学会一种语言,再学第二种就很简单。 | ||
欢迎有经济能力,有追求的青年参加黄哥的培训。 | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
|
||
[点击黄哥python培训试看视频播放地址](https://github.com/pythonpeixun/article/blob/master/python_shiping.md) | ||
|
||
[黄哥python远程视频培训班](https://github.com/pythonpeixun/article/blob/master/index.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#有数字N,循环从list中依次输出元素。 | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
|
||
[点击黄哥python培训试看视频播放地址](https://github.com/pythonpeixun/article/blob/master/python_shiping.md) | ||
|
||
[黄哥python远程视频培训班](https://github.com/pythonpeixun/article/blob/master/index.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#运维如何通过学习python学会编程 | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
|
||
运维必须懂开发,特别是python开发,已经形成大家的共识,不懂开发的运维,路会越走越窄。 | ||
黄哥,从2012年底,从事python教学过程中,接触到很多运维的朋友。部分运维是自学的Linux | ||
或者是从运维培训班出来的。他们对编程懂很少或懂一些shell开发。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#用python写一个程序,找出数组中差值为K的数共有几对 | ||
##知乎上有人问“用python写一个程序,找出数组中差值为K的数共有几对” | ||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
|
||
[点击黄哥python培训试看视频播放地址](https://github.com/pythonpeixun/article/blob/master/python_shiping.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#跟黄哥学python序列文章之python二分查找算法 | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
|
||
在计算机科学中,二分查找算法(binary search)、也称折半搜索(英语:half-interval search), | ||
二分搜索法、二分搜索、二分探索,是一种在有序数组中查找某一特定元素的搜索算法。 | ||
搜索过程从数组的中间元素开始,如果中间元素正好是要查找的元素,则搜索过程结束; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#python生成器处理文本文件大幅度提高效率 | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
运维需要处理日志文件,感觉对自己写的代码处理速度不是很满意。 | ||
|
||
黄哥建议试试生成器,可以大幅度提高效率。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#跟黄哥学编程系列文章之插入排序 | ||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
|
||
## 插入排序算法描述 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#python迭代器的设计 | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
##跟黄哥学python编程系列文章之迭代器 | ||
|
||
###如何自定义迭代器,有2个必要条件 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#这样理解python中的if __name__ == '__main__': | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
用图片说明python中的if __name__ == '__main__': | ||
|
||
模块都有一个变量__name__,可以在模块中print __name__的值看来本模块独立执行的值为__main__, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
##跟黄哥学python序列文章之python 函数是第一类对象 | ||
|
||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
有人问python函数可以返回函数,php如何实现一样的功能 | ||
|
||
python 中函数是第一类对象,函数名字是函数对象的引用,函数名可以赋值给变量,可以作为参数传递给函数,可以作为函数的返回值从函数中返回。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#*吧上有海外留学生问全部用递归求第N个质数,不能用循环 | ||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
## 习题定义了2个函数,还规定了求质数的算法,请看黄哥写的python代码和golang代码。 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# 跟黄哥学python序列文章之python方法链(method chaining) | ||
如果你感觉黄哥的文章对你有帮助请打赏,支付宝账号:[email protected] | ||
|
||
## 写这篇文章来由,有朋友说下面这样的代码看不懂。 | ||
choice = raw_input("please input:\n").strip()[0].lower() | ||
|