Hi guys,
A friend made a python script that can convert any flashcard set from
the three major flashcards websites, FlashcardExchange, Quizlet and
StudyStack to Q&A Supermemo format. It's is in PYTHON and CAN ALSO BE
EASILY BE MODIFIED TO CONVERT TO MNEMOSYNE FORMAT.
Download at:
https://bitbucket.org/nosklo/supymemo/downloads
See the readme below:
--------------------------------------------------------------
This program reads questions/answers from some websites and generates
a file suitable for use with the Supermemo application.
Requirements:
python 2.x:
http://python.org/download/
lxml library:
http://lxml.de/
-----------------------------------------------------
How to run this script under a Windows installation:
1) Download Python 2.7x at "
http://python.org/download/", it's
recommended to choose the Python 2.7.2 Windows Installer.
2) Install in "C:/Python", so it will be easier to handle.
3) Download the lxml library at "
http://www.lfd.uci.edu/~gohlke/
pythonlibs/". Choose the appropriate file for your Windows (32 or 64
bits) and Python Version.
4) Install at the same folder of Python installation.
5) Download the supymemo script at "
https://bitbucket.org/nosklo/
supymemo/downloads". If you chose the compressed .tar.gz version
uncompress to a folder named "scripts" in your python main directory,
e.g "C:/Python/scripts".
6) Open the command prompt. Click on All Programs, Accessories, and
on Command Prompt. OR Open the Start Menu. In the Start Menu search
box area type cmd and press Enter.
7) Enter on your Python installation directory, type C: and then cd
Python.
8) Now run the script, type "python scripts/supymemo.py -q 1068559"
9) If a new it is created at the python main folder, named
1068559.txt, the script is working properly.
10) Now check the command help below and happy conversion.
11) You can also reverse questions and answers with the option e.g
""python scripts/supymemo.py -rq 1068559""
-----------------------------------------------------
Running the script
1) Visit you favorite flashcard website (
http://www.studystack.com,
http://quizlet.com or
http://flashcardexchange.com)
2) For flashexchange, search for the cards id, "http://
www.flashcardexchange.com/flashcards/view/XXX", e.g "http://
www.flashcardexchange.com/flashcards/view/806535".
3) Use the command "supymemo.py -f 806535"
5) A .txt file with the conversion result should be in your python
main folder.
Options (e.g supymemo.py -h")
-h, --help show this help message and exit
-r, --reverse reverse questions and answers
Websites:
You have to choose one of those options to fetch the cards from:
-s, --studystack
http://www.studystack.com cards
-q, --quizlet
http://quizlet.com cards
-f, --flashcardexchange
http://flashcardexchange.com cards