title: Failed to create database error pypyodbc
body: <p>I've installed pypyodbc to create and modify Access Databases. However, following the tutorials I am getting the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#15&gt;", line 1, in &lt;module&gt;
      pypyodbc.win_create_mdb('C:\\database.mdb')
    File "C:\Python33\lib\site-packages\pypyodbc-1.3.0-py3.3.egg\pypyodbc.py", line 2713, in      win_create_mdb
      raise Exception('Failed to create Access mdb file - "%s". Please check file path, permission and Access driver readiness.' %mdb_path)
  Exception: Failed to create Access mdb file - "C:\database.mdb". Please check file path, permission and Access driver readiness.
  </code></pre>
  
  <p>all I am doing is:</p>
  
  <pre><code>import pypyodbc
  pypyodbc.win_create_mdb('C:\\databases\\database.mdb')
  </code></pre>
  
  <p>I have been searching for an answer but this error normally occurs with Linux it seems not Windows.</p>
  
  <p>I am using ActivePython3.3 (32-bit), pypyodbc, MS Access 2010 (32-bit) on Windows 7 (administrator access).</p>
  
  <p>SOLVED:</p>
  
  <p>By importing the os module and finding the filepath, then using that filepath as the parameter in the above statement.</p>
  
  <p>Thank you for your help. Unfortunately I seem to be having problems where the links to answer, comment etc don't work I also can't seem to rate answers either.</p>