title: how to save files on smb shared folder on a python3 script
body: <p>I'm working with a Raspberry pi 3 B and a picamera v2. I'm taking pictures with it and I need the pictures to be stored on a shared folder.</p>
  
  <p>The command to save pictures is:</p>
  
  <pre><code>picamera.PiCamera().capture('/path/pic.jpg')
  </code></pre>
  
  <p>Thing is this format does not support paths like smb://remote/...
  The library pysmb has a SMBHandler module to support smb libraries, but it works with urllib2 which is unsupported on python 3. I couldn't make it work with python 3. Does anyone knows how to work on a smb directory with python 3? Maybe a way to chdir to the remote folder?</p>