title: Python 3: how to get nic from which will be sent packets to certain ip?
body: <p>I have machine with multiple NICs that can be connected to one net, to different nets or every other possible way. Python script that uses requests module to send POST/GET requests to the server is ran on that machine.</p>
  
  <p>So, the question is next: how can I know in python script from which interface requests will be sent? </p>