cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem opening and closing file to send over email python

Problem opening and closing file to send over email python

I've been dabbling in cyber security and doing some research on parenting monitoring tools and thought a key-logger/email sender would be a good project to learn how to build.

So the code I have sends an email correctly, and also sends the generated text file as an attachment.

The problems I'm having and need help with are: 1. As the key logger continues to log keystrokes, the email attachment does not update the file, it just sends the original file in the original path.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea