title: Creating a file in a non-existing folder using OpenCV in Python
body: <p>i am trying to create an image file using opencv in python.
  when i am creating it in same folder file is created</p>
  
  <pre><code>          face_file_name = "te.jpg"
            cv2.imwrite(face_file_name, image)
  </code></pre>
  
  <p>but when i am trying to create it in another folder like</p>
  
  <pre><code>          face_file_name = "test\te.jpg"
            cv2.imwrite(face_file_name, image)
  </code></pre>
  
  <p>file is not created. can someone explain the reasons??</p>
  
  <p>i even tried giving absolute path.
  i am using python2.7 in windows.</p>