AutomateTheBoringStuff.Ch16 package¶
Subpackages¶
Submodules¶
AutomateTheBoringStuff.Ch16.P1_sendingEmail module¶
Sending email
This program uses smtplib
to send emails.
Notes
smtp_info
file has each item on a separate line.- Email address used is specially created for this chapter.
- Use
input()
for password to prevent storing in unencrypted file.
AutomateTheBoringStuff.Ch16.P2_receivingEmail module¶
Receiving email
This program uses imapclient.IMAPClient
and pyzmail36 to retrieve emails.
Notes
imap_info
file has each item on a separate line.- Email address used is specially created for this chapter.
- Use
input()
for password to prevent storing in unencrypted file.
AutomateTheBoringStuff.Ch16.P3_sendDuesReminders module¶
Send dues reminders
Sends emails based on payment status in spreadsheet.
Notes
smtp_info
file has each item on a separate line.- Email address used is specially created for this chapter.
- Use
input()
orsys.argv[1]
for password to prevent storing in unencrypted file.
AutomateTheBoringStuff.Ch16.P4_sendSMS module¶
Send SMS
This program uses twilio to send SMS messages to a phone number.
Note
twilio_info
file has each item on a separate line.- Use
input()
to prevent storing sensitive info in unencrypted file.
AutomateTheBoringStuff.Ch16.P5_textMyself module¶
P5_textMyself.py
Defines textmyself()
that texts a string message passed to it.
Note
twilio_info
file has each item on a separate line.- Use
input()
to prevent storing sensitive info in unencrypted file.