To open an email attachment in some email client, the client needs to make new processes which opens the corresponding file. This can be done by using the subprocess module, which spawns new process and opens the file.
import subprocess
subprocess.Popen(filename, shell=True)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment