Python cannot find file to send as email attachment -


i using python3 , mime.multipart send attachment. able send attachment successfully. today, error saying file not exist, when can see in winscp does. permissions issue? when list contents of directory, file not show up. going on?

i wasn't closing stream after writing file. code couldn't find file. when script finished, stream closed force , see file in folder.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -