[experience sharing] 20 Python code segments, easy to cry!

Python is a non BS programming language. Design simplicity and readability are two reasons why it is so popular. Just like Python's tenet: beauty is better than ugliness, and explicit is better than implicit. It's useful to keep in mind some common tips to help improve coding design. When necessary, these tips can reduce the trouble of checking ...

Added by dcooper on Wed, 29 Apr 2020 12:59:50 +0300

Use the plot of Python to draw cool data visualization (including the introduction of various graphs, with code attached)

Preface The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Author: I was bitten by a dog When we talk about data visualization, we usually use matlab lib ...

Added by Avi on Tue, 28 Apr 2020 09:45:49 +0300

python realizes the wechat automatic reminder function of seckill goods (with code)

Technology realization principle: get the specific commodity information of JD, and then use wechat to send reminders Tool: two microsignals are needed, which are mutual friends If you want to learn Python or are learning python, there are many Python tutorials, but are they up to date? Maybe you have learned something that someone else probabl ...

Added by Pastulio on Mon, 27 Apr 2020 10:54:48 +0300

Hand-on instructions for using Python to grab QQ music data (4th bounce)

[1. Project objectives] By using Python to grab QQ music data (the first shot), we achieve the song name, album name, playback link of a song with a specified number of pages in the QQ music singer's single line. By using Python to grab QQ music data (second round) by hand, we have achieved lyrics and top reviews for specified QQ music songs. B ...

Added by Stoned Gecko on Sun, 26 Apr 2020 20:29:49 +0300

Send by Python email, novice must learn

You may have found this tutorial because you want to send email using Python. Maybe you want to write a code to receive email reminders, send a confirmation email to users when they create an account, or send an email to organization members to remind them to pay their dues. Sending mail is a time-consuming and error prone task, but it can be ...

Added by amwd07 on Sun, 26 Apr 2020 10:14:56 +0300

Failed to resolve pycharm add third party package

Today, I want to open the image with pycharm, but an error is reported when I import scipy. The error content is as follows: from scipy.misc import imread Traceback (most recent call last): File "<input>", line 1, in <module> File "D:\pycharm\PyCharm Community Edition 2017.2.3\helpers\pydev\_pydev_bundle\pydev_import_hook ...

Added by adityakonda on Sat, 25 Apr 2020 18:39:46 +0300

Do you understand all these questions at the beginning of Python? (including learning path)

Python basic syntax learning path python concept level Expression → create and process objects Statement → include expression Logical unit → function or class, composed of statements Module →. py code file composition module Package → define a group of related files or modules (package is a folder, module is a file in ...

Added by AliceG on Fri, 24 Apr 2020 12:29:47 +0300

[interesting case] make a little time memoir software in Python. My girlfriend cried on the spot and said it's not me!

"Time memoir" is mainly divided into the following four parts: the design of login interface, countdown module, photo module and sweet talk module. Login interface Because photos and love talk are more private things, I decided to design a certain threshold for login. But at the same time, I give two menu bars, love and you, as the p ...

Added by hmemnon on Fri, 24 Apr 2020 11:20:05 +0300

Python notes: draw several beautiful polylines with the pyecharts Library

I believe that many people with a certain Python foundation should have found that the visual graphics drawn with the matplotlib library are slightly ugly (default) except for the area map! However, the visual graphics created by pyecharts library have strong visual impact! The following is a group of broken lines that my colleagues dislike th ...

Added by johndale on Thu, 23 Apr 2020 18:28:23 +0300

Embarrassed by the ugly signature? Python crawler art signature software!

Preface Whether you are a college student, a white-collar person who has entered the society, or a famous boss in the business world, you will always ask for signature from time to time. Are you still embarrassed by your ugly signature? No need from now on, because with this article, there is an artist's autograph specially designed for you, wh ...

Added by benrussell on Thu, 23 Apr 2020 16:15:31 +0300