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

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

ruby - Net::HTTP extremely slow responses for HTTPS requests -