We write our robot in Python. Lesson 11
Today we will teach our robot for analyzing government contracts to send letters. Python has a built-in module for this, smtplib . We import the module and additional loads into our project. Our code can already download contracts from the GosZatraty website and create a table from them - now all that remains is to send this table to the user. Let's write into the message variable the message that we will send. Next we will need a few more variables.