Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code


May 29, 2021 Article blog



A software development engineer named Li Weixiang sent a message, did not expect to fire so fast.

The cause is because the work is busy, always can not reply to his girlfriend's message in time, so wrote a program, this procedure can:

Push greetings 24 hours a day and automatically reply to your girlfriend's WeChat message

The effect is this:

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code1

See, if the programmer is in a hurry, green himself.

1

Just as the programmer was on the social platform, sunbathing his story, he was caught by his girlfriend:

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code2

Feeding dog food this thing we do not say, the programmer's girlfriend is actually a product, it is like a gray wolf married sheep, Jerry and Tom shook hands and said the same incredible.

Products and development, this pair of natural enemies, actually can become lovers?

This phenomenon is not uncommon, or even a normal one, such as Pombo, who is also a programmer and his wife is also a product manager.

Sun Tzu said: "do not fight and surrender the soldiers, the good people also", in my opinion, "turn the enemy into friends", can be much higher than the realm of the soldiers who do not fight.

What makes development and products come to the fore?

It wasn't until I remembered the buzzing "change the theme color, product and programmer fight" news that the phone case was buzzing that I found out.

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code3

To sum it up in one sentence is: "A mountain can not be two tigers, unless a male and a mother."

Here, W3Cschool strongly recommends that all companies recruit and develop products, must be men and women, and to try to match products and development.

In the nourishment of love, they are not easy to fight. What if it still happens?

Don't worry, they dare not, because according to the provisions of our criminal law, domestic violence is serious, can be punished.

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code4

Who says product development is an enemy? A ctually, we're water and fish! W ho says we're ice and fire? W e're bees and flowers! W ho says the tip of the needle is right for Maiman? W e're weavers and cows! W ho says they're not happy at first sight? We are Pan Jinlian and Simon Qing!

2

Looking back, and then say this "automatic reply to girlfriend news" program, chat coax girlfriend although good, but there is a problem under-considered, if the girlfriend sent voice, this can do?

Different people have different solutions.

The new programmer was thinking, "Just reply to 'I'm sorry, I can't recognize this content'" the junior programmer thought: "Get a voice-to-text function." " Intermediate programmers are thinking: "Voice to text to add, and to put 5 content into, random reply." T he senior programmer thought, "When you recognize the voice, reply, 'Shh! W orking hours voice is not convenient, typing chat'.

The master lies not in the level of skill, but in the ability to solve problems.

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code5

When the master brother is also thinking about this question, suddenly thought of a very scary question.

The girlfriend opposite, if you also use a chatbot...

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code6

This is very likely, because the author has opened up the source code.

Download address: https://github.com/likaixiang/EverydayWechat

3

A clear look at this GitHub project shows that this program not only supports single people, but also supports the addition of multiplayer information.

In other words: too many girlfriends, too busy at work, no worries, no sadness, not afraid to be caught not to hide, reptile script to help you.

In this project, the author specifically explained that this function was achieved using Python after drawing on an article entitled "Node-wechaty writes a reptile script to send warm messages to female (male) friends on a regular basis every day".

Why do you have to use Python?

The biggest reason is simplicity. As an example, there was a legend online earlier that a billion-dollar AI code was written in java:

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code7

Write with PHP:

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code8

No matter what language you use, the code is longer, and if you write with Python, a line of code can do it:

 Programmer's Goddess Festival: I used Python to develop a girlfriend chat system with source code9

Since the work is too busy, but also to coax girlfriend happy, of course, choose the simplest way to implement, the use of Python to make reptile scripts, to achieve the function of automatic reply to messages, can not be more appropriate.

Of course, Python isn't just for reptiles, it can do a lot of things. Like what:

Many well-known websites are written with Python, such as YouTube, Know, Bean Petal and Sina, etc.; Python is the first development language in new fields such as big data, artificial intelligence, machine learning; and Python can do a lot of things, you can use it to do a website, develop games, do reptiles and so on, almost anything;

In recent years, Python has been said to be the first language of all programming languages, and in foreign countries, more and more universities are using Python as an entry language.

Domestically, Shandong will Python into the primary school information technology teaching materials, Python into the Zhejiang college entrance examination subjects.

Python is easy to learn, powerful, and is really the best choice for programming beginners.

In order to facilitate everyone to learn Python, W3Cschool has started the Python series of courses, complete the course, you can master Python basics, and reptile production.