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
Post a Comment