Automatic email weather reminder (30 minutes Python entry))

Project introduction: Automatic email weather reminder. It is a common office requirement to
experience
automatic email sending. For example, if you have the job of sending reports on a daily basis, or you have written a script to monitor the weather in Python, you can remind yourself by email, which is convenient for you. Live and work.

There are eight tasks in this project, which can take you to make a monitoring and query city weather script, understand the idea of ​​email sending, set up a mailbox, and send a simple weather monitoring email to learn basic Python knowledge in the process of project practice.

Quickly open the online programming environment on the right and start your Python programming journey.

Task 1: The first line of code

Experience
Python and practice with me. You can enter Python code online, which will take you to quickly and focus on learning Python knowledge. Start your first line of Python code through the online environment on the right!

1. Enter python in the command line window on the right and press the Enter key to enter the Python interpreter environment.

Hello from CSDN EDU !!!

[csdn ~]$ python

2. Enter the following code on the right side of the current Python prompt ">>>" and press the Enter key to print out your first line of Python code.

print('Hello World')
Note:

1. 在代码中,小括号和双引号都需要在英文半角状态下输入;

2. print全

Guess you like

Origin blog.csdn.net/xianyu120/article/details/114854675