Author: HelloGitHub- Stewed eggs
With the popularity of Python, more and more people have joined the Python family. Why do so many people learn Python? I’m going to shout out the words: “Life is short, I use Python!” Python is popular because its syntax is simple and easy to learn. (Python! Python! Python!
When a Python beginner crosses the threshold of installing a programming environment and basic syntax and is ready to hit the ground running, he or she may suddenly find himself at a loss as to what to do and what to learn. Then the interest in programming will fade away, there will be no reason to stick with it, and the knowledge of programming will fade away. So it’s especially important to find Python projects that interest you and that you can follow and learn, so that you can use what you’ve learned and improve on it. Eventually promoted from novice to master!
Interest is the best teacher, HelloGitHub is to help you find the fun of programming.
Here are five articles in HelloGitHub’s Open Source Projects for Beginners on GitHub series:
- C + + article
- Python article
- Go article
- Java article
- JavaScript article
In this installment of Python, OUT of 197 Python open source projects recommended by HG, I’m going to pick out seven of the best open source projects for beginners to learn and play with. These projects include:
- Python tutorials are a great way to start from scratch
- Secrets that will make you wonder how Python can still be used this way
- You can easily run (feel a sense of accomplishment)
- Fun, fun and learning projects (programming fun)
I will try to cover everyone who is looking for an open source project at the beginning stage. Statement:
- Regardless of whether the project is Python2 or 3
- My biggest fear is that there are too many recommended items for readers to “pick and choose”, so I chose 7 items
- Welcome to ridicule and feedback, update from time to time. So this article will be called Python 1.0 ๐
Note: for your convenience, I have put these projects on the web disk for you to download (the address is at the bottom), and you can also clone projects directly.
But no matter which way to download, I hope you can go to these open source projects on GitHub a star โจ, let the author feel everyone’s support and love. Here I thank you in advance for the author, love you yo ~ โค๏ธ
๐ Start the engine ~
Coach, I want to learn Python
There are seats on the bus. When they’re full, start.
1.1 Programming background: explore-Python
- Project address: github.com/ethan-funny…
- Online reading: funhacks. Gitbooks. IO/explore – pyt…
The open source book Journey to Python is entry-level but not nanny level, and if you think it’s a waste of time to teach you how to install Python by hand, I recommend explore-Python. So, if you have learned other programming languages before, you can solve problems like installation environment yourself. Then you might like it as much as I do:
- Outline: intuitive brain map presentation, clear and complete structure, talk about the key and commonly used knowledge
- Content: code more than text, run sample code to help understand + short text point, the code may be written for a long time, see the code feel more comfortable than text
- Typography: comfortable + elegant Python book for programmers
1.2 No programming background: Python-100-days
- Project address: github.com/jackfrued/P…
Python-100-days is what I described above as a “nanny level” tutorial. It covers every aspect of Python development, and covers Python technology step by step. For people who have no programming background and want to learn Python, it doesn’t just teach you basic Python syntax. Also: Advanced Python knowledge, Linux basics, database knowledge, Web basics and frameworks, crawlers and data analysis, machine learning, etc. Learning Python for a Real Project ๐
๐ฅ says it’s okay: Getting started with Python is easy, but it’s not easy to stick to it and have the patience to type through every example.
I want to learn Python well
The speed is too fast, please hold on.
2.1 Check this guide: Python-guide
- Project address: github.com/realpython/…
- Online reading: pythonguidecn. Readthedocs. IO/useful/latest /
First of all, I would like to thank the translators for their hard work in making the Python Best Practices Guide easier to read. If you want to get good at Python, but don’t know where to start, this guide will help you out. This guide introduces the development environment, common tools, code style, project structure, and usage scenarios to improve Python’s overall literacy: use gracefully, play well. The authors, contributors, and translators of this project are the “old drivers” of the Python community, and the old drivers have brought you flying!
2.2 Break the book again: Python3-Cookbook
- Project address: github.com/yidao620c/p…
- Online reading: python3 – cookbook. Readthedocs. IO/zh_CN/lates…
If every Python question or requirement is an attack, the Python Cookbook is a martial art recipe for cracking attack moves. When you don’t have an idea or feel that there might be a better way or way to write a problem in Python, read this book. Try lying down and flipping through a random page. By looking at it, you can sit up and mutter, “XXX, how can you write that? I have to try.” Don’t laugh. I’ve done it several times.
**๐ฅ said just as well: ** is not to buy two books, read a few open source project introduction can be advanced, only over a long period of time can be from quantitative change to qualitative change, complete the advancement. This process cannot be taught hand in hand because no one can tell you all the problems you will encounter later on. Therefore, you can only seize every opportunity to improve and knowledge, like life-saving straws desperately grasp, break the knowledge points into a comprehensive understanding.
Three, teacher, I want to play Python with you
It’s a cute car. I’d love to ride in it.
3.1 Playing a bad game: free-python-games
- Project address: github.com/grantjenks/…
True ยท A collection of entry-level Python games. All are simple games, such as snake, Maze, Pong, word guessing, etc., simple to run (some do not need to install dependency), little code and easy to read. Start your Python project with a game, and then learn the source code. It’s fun. The source code is in the Freegames directory. Each py file is a game. Guess. The following commands are used to run the installation:
pip install freegames python -m freegames.maze # freegames. The game nameCopy the code
3.2 Key Wizard tool in Windows: KeymouseGo
- Project address: github.com/taojy123/Ke…
A compact green version of the Keystroke wizard implemented in Python. Records the user’s mouse and keyboard operations, and automatically performs the previously recorded operations. You can set the number of times to perform the operations. In some simple, monotonous, repetitive operations, the use of the software can be very easy. Just record it once and KeymouseGo will do the rest.
3.3 Elegant HTTP request tool in Linux: httpstat
- Project address: github.com/reorx/https…
A Python command line tool that shows HTTP request status and time consumption more elegantly. It embellishes curl’s results to make them more readable and intuitive, as well as showing how long each HTTP request took. Most importantly, it has no dependencies, is Python3 compliant, and is only 300 + lines of code per file, making it ideal for beginners to read source code. The effect is shown below:
These open source projects are fun, easy to run and don’t get stuck running code. Finally, here are my three tips for running Python open source projects:
- Install dependencies:
pip install -r requirements.txt
- Startup file: usually
main
,run
,File with the same name as the project name
็py
file - Operation error: take abnormal information to project issues area search, did not find to ask the search engine
๐ฅ says it’s ok: getting the project up and running is not the end, read the source code and modify the code according to your own ideas and finally add or modify features (mention PR).
Four, the last
After reading this article, just remembering which open source projects are suitable for beginners to learn won’t get you any better technically, even if you read it 10 times. Only by reading, using, and studying the items recommended in the article can you improve your skills.
It’s easy for beginners to get started with Python, but it takes a long time to get started. Keep following HelloGitHub to help you find the fun of programming, the reason to stick with it and the direction to go. Here is ๐ฅ said no harm brine egg: “welcome to give me a message to tell me whether you like this article, or criticism and feedback I will humbly accept, do not change… See the mood. ๐ง”
A network backup link: pan.baidu.com/s/1SX3GjqZP… Password: 2 eev
If you are an undergraduate or graduate student who loves programming, open source, and enjoys discussing and learning about technology, then come to HelloGitHub open Source Club for College Students! You’ve just started your programming journey and HG wants to accompany you along the way.