Skip to content

Commit

Permalink
[Doc] Specifying database
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed May 5, 2019
1 parent 67e80c9 commit 04e7b29
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.rst
Expand Up @@ -95,7 +95,15 @@ It's as easy as this:
cards = AnkiDataFrame.cards()
And you have a dataframe containing all cards, with additional methods that make
many things easy. For example:
many things easy.
If called without any argument ``AnkiDataFrame.cards()`` tries to find the location
of your Anki database by itself. However this might take some time.
To make it easier, simply supply (part of) the path to the database and (if you have
more than one user) your Anki user name, e.g.
``AnkiDataFrame.cards(".local/share/Anki2/", user="User 1")`` on many Linux
installations.

For example:

.. code:: python
Expand Down

0 comments on commit 04e7b29

Please sign in to comment.