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

python - Mongodb How to add addtional information when aggregating? -

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

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