title: Python: Open Thunderbird to write new mail with attached file
body: <p>I would like to open Thunderbird on Debian AND Windows with an attached file for a new email.</p>
  
  <p>So I would like to do the same as in this thread but the posted solution does not work:</p>
  
  <p><a href="https://stackoverflow.com/questions/25460652/python-open-email-client-with-attachment">Python open email client with attachment</a></p>
  
  <p>I have the very same problem as user2686223. The file will not be attached to the mail. Can anyone help me with this?</p>
  
  <p>Maybe with another solution?</p>
  
  <p>EDIT: This is now how it works:</p>
  
  <pre><code>import os
  os.system("thunderbird -compose to='test@test.de',subject='subject',body='body',attachment='/path/to/file'")
  </code></pre>