title: Python 3: Opening A Magnet Link Contained In A Variable
body: <p>I have a magnet link (e.g.: <em>magnet:?xt=urn:btih:1c1b9f5a3b6f19d8dbcbab5d5a43a6585e4a7db6</em>) contained in a variable as a string and would like the script to open the default program that handles magnet links so that it starts downloading the torrent (like if I opened a magnet link from within my file manager).</p>
  
  <p>For the sake of making answers clear we will say that we have the magnet link in a variable called <code>magnet_link</code>.</p>