title: How do I get Python to know what Wifi the user is connected to?
body: <p>I'm 14, pardon my Python knowlege.  I'm trying to make this program that will only run while I'm at school (on the school's Wifi) using an if/else statement like this:</p>
  
  <pre><code>if ontheschoolwifi:
       Keep running the program
  else:
       close the program because im not at school and wont need it
  </code></pre>
  
  <p>I'd like to know how to let python know how to get what wifi it is connected to.
  Thank you, in advance, for your help :)</p>