Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 783 Bytes

File metadata and controls

51 lines (34 loc) · 783 Bytes

Flashcards

a python program to generate flashcards in command line

Clone this repository

git clone git@github.com:anyu0/flashcards.git

Prepare a dictionary

  • Go to the working directory
cd ./flashcards
  • Make a plain text file under the ./unprocessed/directory
vi ./unprocessed/filename
  • It should be written in the following format
hint; answer
...
  • Generate a dictionary by entering
python3 mkdict.py filename

Use an existing dictionary

  • Make a deck of flashcards by entering
python3 generate.py ./processed/filename

(Optional) Quick move to the flashcards directory

  • append the following line in your shell config
alias flashcard="cd path/to/flashcards"