title: Python - Get MAC address of only the connected local NIC
body: <p>The goal is to collect the MAC address <strong>of the connected local NIC,
  not a list of all local NICs</strong> :) </p>
  
  <p>By using <code>socket</code> and <code>connect (to_a_website)</code>,
  I can just use <code>getsockname()</code> to get the IP,
  that is being used to connect to the Internet. </p>
  
  <p>But from the IP how can I then get the MAC address of the local NIC ? </p>
  
  <p>Main reason for the question is if there are multiple NICs.</p>