Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CozyMan/python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: flypythoncom/python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
Loading
Showing with 1,064 additions and 2,231 deletions.
  1. +12 −0 .github/FUNDING.yml
  2. +1 −0 CNAME
  3. +209 −7 README.md
  4. +841 −0 README_cn.md
  5. +1 −0 _config.yml
  6. +0 −25 datastruct/binarysearch.py
  7. +0 −62 datastruct/btree.py
  8. +0 −35 datastruct/graph.py
  9. +0 −43 datastruct/queue.py
  10. +0 −78 datastruct/sort.py
  11. +0 −59 datastruct/stack.py
  12. +0 −54 expand/1.py
  13. +0 −27 expand/2.py
  14. +0 −33 primer/10/card.py
  15. +0 −104 primer/10/myexc.py
  16. +0 −17 primer/11/Gui.py
  17. +0 −22 primer/11/deco.py
  18. +0 −40 primer/11/easyMath.py
  19. +0 −26 primer/11/grabWeb.py
  20. +0 −8 primer/11/numconv.py
  21. +0 −10 primer/11/odd.py
  22. +0 −26 primer/11/testit.py
  23. +0 −10 primer/12/hot.py
  24. +0 −27 primer/13/NumStr.py
  25. +0 −10 primer/13/Rand.py
  26. +0 −34 primer/13/file.py
  27. +0 −28 primer/13/meta.py
  28. +0 −9 primer/13/roundFloat.py
  29. +0 −28 primer/13/time.py
  30. +0 −14 primer/13/time60.py
  31. +0 −20 primer/16/sockCli.py
  32. +0 −17 primer/16/sockServ.py
  33. +0 −21 primer/16/tcpclient.py
  34. +0 −26 primer/16/tcpserver.py
  35. +0 −19 primer/16/udpCli.py
  36. +0 −17 primer/16/udpSer.py
  37. +0 −26 primer/18/sleep.py
  38. +0 −37 primer/18/threading.py
  39. +0 −11 primer/19/label.py
  40. +0 −10 primer/2/2_10.py
  41. +0 −25 primer/2/2_11.py
  42. +0 −9 primer/2/2_2.py
  43. +0 −5 primer/2/2_7.py
  44. +0 −7 primer/2/2_8.py
  45. +0 −114 primer/20/Cralwer.py
  46. +0 −14 primer/3/makeFile.py
  47. +0 −32 primer/3/makeTextFile.py
  48. +0 −17 primer/3/readTextFile.py
  49. +0 −11 primer/4/display.py
  50. +0 −20 primer/6/idcheck.py
  51. +0 −38 primer/6/queue.py
  52. +0 −43 primer/6/stack.py
  53. +0 −1 primer/6/unicode.txt
  54. +0 −20 primer/6/unicodeFile.py
  55. +0 −53 primer/7/userpw.py
  56. +0 −38 primer/9/ospathex.py
  57. +0 −11 unp/1/download.py
  58. +0 −22 unp/1/gopherclient.py
  59. +0 −27 unp/1/gopherclient2.py
  60. +0 −27 unp/1/gopherclient3.py
  61. +0 −25 unp/1/server.py
  62. +0 −12 unp/2/connect.py
  63. +0 −16 unp/2/connect1.py
  64. +0 −19 unp/2/connect3.py
  65. +0 −24 unp/2/socketerrors.py
  66. +0 −31 unp/2/udp.py
  67. +0 −18 unp/3/basicserver.py
  68. +0 −30 unp/3/echoclient.py
  69. +0 −44 unp/3/echoserver.py
  70. +0 −9 unp/3/socketop.py
  71. +0 −40 unp/3/syslogsample.py
  72. +0 −22 unp/3/udpechoserver.py
  73. +0 −11 unp/3/xinetdserver.py
  74. +0 −15 unp/4/dns.py
  75. BIN unp/4/dns.pyc
  76. +0 −17 unp/4/environment.py
  77. +0 −12 unp/4/getaddrinfo.py
  78. +0 −19 unp/4/gethostbyaddr.py
  79. +0 −25 unp/5/bcastclinet.py
  80. +0 −16 unp/5/bcastserver.py
  81. +0 −52 unp/5/delayserver.py
  82. +0 −23 unp/5/nbo.py
  83. +0 −47 unp/5/pollclient.py
  84. +0 −57 unp/5/selectclient.py
  85. +0 −48 unp/5/timeoutserver.py
  86. +0 −12 unp/6/dump_info.py
  87. +0 −13 unp/6/dump_page.py
  88. BIN 博客/Python yield 用法.pdf
  89. BIN 博客/Python 代码性能优化技巧.pdf
  90. BIN 博客/Python 开发者应该知道的 7 个开发库.pdf
  91. BIN 博客/python ftp的断点上传.pdf
  92. BIN 博客/python 函数修饰器.pdf
  93. BIN 博客/python写数据结构.pdf
  94. BIN 博客/python爬虫抓站的总结.pdf
  95. BIN 博客/python网络编程-epoll.pdf
  96. BIN 博客/python网络编程-底层网络.pdf
  97. BIN 博客/python网络编程-数据库.pdf
  98. BIN 博客/python面试题.pdf
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: pxiaoer
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python.flypython.com
216 changes: 209 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,215 @@
python
======
学习Python时的代码
# FlyPython

[python.flypython.com](https://python.flypython.com )


## Python News

- [python official](https://www.python.org/)
- [medium](https://medium.com/tag/python)
- reddit
- [python](https://www.reddit.com/r/Python/)
- [learn python](https://www.reddit.com/r/learnpython/)
- [python tips](https://www.reddit.com/r/pythontips/)
- [python coding](https://www.reddit.com/r/pythoncoding)

#### 2016-03-20 update

- [Machine Learning with Python](https://github.com/xxg1413/MachineLearning)
- [Python-Algorithms](https://github.com/xxg1413/Python-Algorithms)
- [python-cookbook](https://github.com/xxg1413/python-cookbook)

## Python for LLM


## Python Books

#### Beginner
- 《Python Crash Course: A Hands-On, Project-Based Introduction to Programming for begainners》
- ※※※※※
- [Amazon](https://www.amazon.com/Python-Crash-Course-Hands-Project-Based/dp/1593276036)

- 《STARTING OUT WITH PYTHON (4TH EDITION)》
- ※※※※※
- [Amazon](https://www.amazon.com/Starting-Out-Python-Tony-Gaddis/dp/0134444329)

- 《Automate the Boring Stuff with Python: Practical Programming for Total Beginners 》
- ※※※※※
- [Amazon](https://www.amazon.com/Automate-Boring-Stuff-Python-Programming/dp/1593275994)

- 《Python Cookbook: Recipes for Mastering Python 3 Paperback 》
- ※※※※※
- [Amazon](https://www.amazon.co.uk/Python-Cookbook-David-Beazley/dp/1449340377)




## Course


#### Beginer
- [Python for Everybody](https://www.coursera.org/specializations/python)
- [Python 3 Programming](https://www.coursera.org/specializations/python-3-programming)



## Data Science

#### matplotlib
- [AnatomyOfMatplotlib](https://github.com/matplotlib/AnatomyOfMatplotlib)


## Github Top 45

<br>

1. [Algorithm](#algorithm)
1. [Guide](#guide)
1. [Structure](#structure)
1. [List](#list)
1. [Class](#class)
1. [Web Scraping](#web-scraping)
1. [Automation](#automation)
1. [Bot](#bot)
1. [Spreasheet](#spreasheet)
1. [Finance](#finance)
1. [Blockchain](#blockchain)
1. [Video Sythesizer](#video-sythesizer)
1. [Performance](#performance)
1. [Django](#django)
1. [Flake](#flake)
1. [NumPy](#numpy)
1. [NashPy](#nashpy)
1. [Markov Process](#markov-process)
1. [Data Analysis](#data-analysis)
1. [Get Started](#get-started)

<br>

### Recommended Learning

A) REST APIs: [Build professional REST APIs with Python, Flask, Flask-RESTful, and Flask-SQLAlchemy.](http://bit.ly/2nktytU) [12,602 recommends, 4.6/5 stars]

B) Algorithmic Trading: [Python for Financial Analysis and Algorithmic Trading: Learn numpy , pandas , matplotlib , quantopian , finance.](http://bit.ly/2FfVW8G) [18,077 recommends, 4.6/5 stars]

<br>

### Algorithm
* [Interactive Python coding interview challenges (algorithms and data structures)](https://github.com/donnemartin/interactive-coding-challenges?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Algorithms: Minimal examples of data structures and algorithms in Python](https://github.com/keon/algorithms?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Pygorithm: A fun way to learn all major Python algorithms](http://pygorithm.readthedocs.io/en/latest?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Guide
* [wtfPython: A collection of interesting, subtle, and tricky Python snippets](https://github.com/satwikkansal/wtfPython?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Structure
* [Alice in Python projectland: A comprehensive guide for how to go from Python scripts to a packaged project.](http://veekaybee.github.io/2017/09/26/python-packaging?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### List
* [Python List Comprehension Tutorial](http://www.datacamp.com/community/tutorials/python-list-comprehension?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Class
* [Enriching Your Python Classes With Dunder (Magic, Special) Methods](https://dbader.org/blog/python-dunder-methods?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Web Scraping
* [Web Scraping With Python: Scrapy, SQL, Matplotlib To Gain Web Data Insights](http://www.scrapingauthority.com/python-scrapy-mysql-and-matplotlib-to-gain-web-data-insights?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Advanced Web Scraping: Bypassing "403 Forbidden," captchas, and more](http://sangaline.com/post/advanced-web-scraping-tutorial?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Mastering Python Web Scraping: Get Your Data Back](https://hackernoon.com/mastering-python-web-scraping-get-your-data-back-e9a5cc653d88?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Automation
* [Wedding at Scale: How I Used Twilio, Python and Google to Automate My Wedding](https://www.twilio.com/blog/2017/04/wedding-at-scale-how-i-used-twilio-python-and-google-to-automate-my-wedding.html?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [How I used Python to find interesting people to follow on Medium](https://medium.freecodecamp.org/how-i-used-python-to-find-interesting-people-on-medium-be9261b924b0?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Bot
* [Making a Reddit + Facebook Messenger Bot](https://pythontips.com/2017/04/13/making-a-reddit-facebook-messenger-bot?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [My open source Instagram bot (written in Python) got me 2,500 real followers for $5 in server costs](https://medium.freecodecamp.com/my-open-source-instagram-bot-got-me-2-500-real-followers-for-5-in-server-costs-e40491358340?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Spreasheet
* [Python Excel Tutorial: The Definitive Guide - Karlijn Willems](http://www.datacamp.com/community/tutorials/python-excel-tutorial?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Google Sheets and Python](https://www.youtube.com/watch?v=vISRn5qFrkM?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Finance
* [Python For Finance: Algorithmic Trading](https://www.datacamp.com/community/tutorials/finance-python-trading?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Intro and Getting Stock Price Data - Python Programming for Finance p.1 - Sentdex](https://www.youtube.com/watch?v=2BrpKpWwT2A?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Analyzing Cryptocurrency Markets Using Python](https://blog.patricktriest.com/analyzing-cryptocurrencies-python?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Blockchain
* [Learn Blockchains by Building One](https://hackernoon.com/learn-blockchains-by-building-one-117428612f46?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Let’s Build the Tiniest Blockchain](https://medium.com/crypto-currently/lets-build-the-tiniest-blockchain-e70965a248b?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Video Synthesizer
* [Building a Video Synthesizer in Python](https://www.makeartwithpython.com/blog/video-synthesizer-in-python?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Performance
* [A million requests per second with Python](https://medium.freecodecamp.com/million-requests-per-second-with-python-95c137af319?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Yes, Python is Slow, and I Don’t Care](https://hackernoon.com/yes-python-is-slow-and-i-dont-care-13763980b5a1?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Memoization in Python: How to Cache Function Results – Dan Bader](https://dbader.org/blog/python-memoization?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Django
* [A Complete Beginner's Guide to Django - Part 1](https://simpleisbetterthancomplex.com/series/2017/09/04/a-complete-beginners-guide-to-django-part-1.html?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Build a REST API with Django – A Test Driven Approach: Part 1](https://scotch.io/tutorials/build-a-rest-api-with-django-a-test-driven-approach-part-1?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Flake
* [The Big Ol' List of Rules](https://lintlyci.github.io/Flake8Rules?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Developing RESTful APIs with Python and Flask](https://auth0.com/blog/developing-restful-apis-with-python-and-flask?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### NumPy
* [From Python to Numpy](http://www.labri.fr/perso/nrougier/from-python-to-numpy/?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Exploring Line Lengths in Python Packages](http://jakevdp.github.io/blog/2017/11/09/exploring-line-lengths-in-python-packages?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### NashPy
* [Nashpy - Tutorial: building and finding the equilibrium for a simple game](http://nashpy.readthedocs.io/en/latest/tutorial?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Markov Process
* [Simulating Chutes & Ladders in Python](https://jakevdp.github.io/blog/2017/12/18/simulating-chutes-and-ladders?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Data Analysis
* [Exploring United States Policing Data Using Python](https://blog.patricktriest.com/police-data-python?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Analyzing 1000+ Greek Wines With Python](https://tselai.com/greek-wines-analysis.html?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [How to Generate FiveThirtyEight Graphs in Python](https://www.dataquest.io/blog/making-538-plots?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Playing with 80 Million Amazon Product Review Ratings Using Apache Spark with Python](http://minimaxir.com/2017/01/amazon-spark?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Fast GeoSpatial Analysis in Python](https://matthewrocklin.com/blog//work/2017/09/21/accelerating-geopandas-1?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [Planet: Understanding the Amazon from Space, 1st Place Winner's Interview](http://blog.kaggle.com/2017/10/17/planet-understanding-the-amazon-from-space-1st-place-winners-interview?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

<br>

### Get Started
* [Learning Python: From Zero to Hero](https://medium.freecodecamp.org/learning-python-from-zero-to-hero-120ea540b567?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [A List of Non Trivial Python Exercises](https://www.ynonperek.com/2017/09/21/python-exercises?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [API Design: Think First, Code Later](https://www.ckl.io/blog/api-design-think-first-code-later?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [The Hitchhiker’s Guide to Machine Learning in Python](https://medium.freecodecamp.org/the-hitchhikers-guide-to-machine-learning-algorithms-in-python-bfad66adb378?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [How to learn Python programming: 6 experienced Python developers share their learning tips](https://coolpythoncodes.com/best-way-learn-python-programming?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)
* [ you can find out How Did Python Become A Data Science Powerhouse?](https://www.youtube.com/watch?v=9by46AAqz70?utm_source=mybridge&utm_medium=email&utm_campaign=read_more)

Loading