This is a small and easy python script for creating flashcards for ESL classes. It takes a folder of images, and creates a pdf file of images with the words in large font on the back.
The words I want to use are car, farm, target, arm. The target letters are 'ar'.
- make a folder named 'ar words' in the Create Flashcards Here folder.
- add some images, making sure their names are the key words. e.g. arm.png, target.jpg
- run create_flashcards.py
What is the folder name?
>ar words
the name of the folder
Who is the author?
>
you can leave it blank, or write your name. This will add a light 'made by ___' to the cards.
Highlight the first letter? (yes/no/input)
>input
'yes' will make the first letter green
'no' will make it all black
'input' allows you to choose a custom letter combo
What should be highlighted?
>ar
in this example, 'ar' in car, arm, target will be highlighted green.
press enter, and see your flashcards!
This is intended to be shared with ESL teachers who are not tech oriented, so python installation files were included in the folder to make it easier to install.
- Go to /Install Python/
- Double click 'python windows.exe'. Install it.
- Double click 'RUN AFTER INSTALL WINDOWS.bat'
- Double click the create_flashcards.py file in the 'Create Flashcards Here' folder to make flashcards!
- Go to /Install Python/
- Double click 'python mac.pkg'. Install it.
- Open 'Terminal'
- type this:
pip3 install reportlab Pillow
- press enter
- Double click the create_flashcards.py file in the Create Flashcards Here folder. It will open Idle
- Click 'run' or F5