pause at end of execution

This commit is contained in:
Audrey Aaliyah Jensen 2023-08-02 14:50:50 -05:00
parent 67e8cac72b
commit 5b749a997e

View File

@ -61,6 +61,7 @@ if __name__ == "__main__":
# 2-element list holding number of files, number of attachments # 2-element list holding number of files, number of attachments
numfiles = [sum(i) for i in zip(*res)] numfiles = [sum(i) for i in zip(*res)]
print("Done: Processed {} files with {} attachments.".format(*numfiles)) print("Done: Processed {} files with {} attachments.".format(*numfiles))
nothin = input('Press Enter to close...')
def extractBody(msg): def extractBody(msg):
for part in msg.walk(): for part in msg.walk():