title: How to convert wav to flac from python?
body: <p>I've just started using Python and am using the <code>PyAudio</code> and <code>Wave</code> modules to take sound from my microphone and convert it to a <code>.wav</code> file.</p>
  
  <p>What I'm trying to do is now convert that <code>.wav</code> to a <code>.flac</code>. I've seen a few ways to do this which all involve installing a converter and placing it in my environmental PATH and calling it via <code>os.system</code>.</p>
  
  <p>Are there any other ways to convert a <code>.wav</code> to a <code>.flac</code> via Python? The solution I'm looking for needs to work on both Windows and Linux.</p>