What is the hottest programming language of 2020?
The answer must be Python
This has spread the fire beyond the coders’ circle
Primary school students to workplace old drivers
All began to learn the new language
Low threshold, zero basis, operation SAO…
Is there anything stopping Python from becoming an Internet sensation
Someone uses Python to download **** videos from various video sites
Some people successfully do NetEase cloud music batch download
Someone flirts with a girl in Python (how? !).
Someone else designed a code to automatically count seeds…
So many amazing operations, want to learn?
Today Uni Sauce is an eye-opener
What kinds of things can Python do?
Operation 1: Batch download of NetEase cloud music
One song after another is absolutely torture. Zhihu user Tsing typed the code herself and instantly got the top 100 downloads. Batch download, very fast, you deserve it!
Operation 2: Use Python to “P graph”
This is an amazing operation, please explain how it is done for Uni sauce…
Operation three: brush micro blog artifact at work
Everyone has probably had such experience: while the boss is not at work, secretly brush Taobao, jingdong, Zhihu, Weibo, but often caught bag, a fine is a lunch money…
So someone wrote a code in Python that uses a camera to detect faces. If someone comes within range of the camera, an automatic notification will be sent telling you to turn off anything that doesn’t matter.
The principle of the code is very simple. The image obtained by the camera is captured by OpencV and then sent to dlib’s Face Detector for detection. If a face is detected, a system prompt is issued via AppleScript, or replaced with VBScript on Windows.
Operation four: grab low fares
I am in the United States, and I return to China once a year. I don’t need to specify a specific day, but in a specific week. The previous method was to scan the web every day to see if there was a cheap ticket. Then I had an idea, and I wrote a program in Python (BeautifulSoup, Tinyurl, Googlevoice package) to capture the search results of the ticket website, and put it on Amazon EC2 server. Grab a web page every 15 minutes for less than $1100 and call Google Voice to text yourself the URL. Grab the ticket!
Operation five: check other people’s salaries
Use crawler to obtain data from recruitment database of each company, and then organize and analyze. Don’t ask for jobs in the future…
Once I wrote a software and registered hundreds of thousands of Sina Weibo accounts (real name system was not required at that time). Then, in order to raise an account, I wrote several crawler software to update my sina Weibo nickname by crawling nicknames from Sohu Weibo, to update my own weibo avatar by crawling their avatar from BIG V’s fans, and to send it to my own microblog by crawling content from joke weibo.
Using these hundreds of thousands of weibo accounts to participate in the lottery, a profit of more than 70,000 yuan a year. In those years OF study, I contracted all the utilities of our dormitory and the cost of beer and duck king for boys in our class.
The ultimate operation seven: flirtation girl
In order to catch up with a girl, someone used Python to do a very advanced operation: send a regular Email every morning to remind her of the weather. After being together, it was still the same every day, but in front of it was added “today is the xx day we were together”. Some people write a little script, like the girl posted on weibo, automatically like…