Note: in its present form, this program is not as effective with characters as gradint is with audio. While I have a collection of thousands of words in gradint, charlearn only took me up to about 150 Chinese characters and then constant misidentifications virtually stalled any progress (but then I do have cortical visual impairment so your result may differ). It might be useful to get you started with 100 or so however.
That characters.txt contains frequently-used Chinese characters and their definitions from CEDICT. If you want to learn hiragana and katakana instead, download this alternative characters.txt. Alternatively you can make your own in the same format. (If you want to learn several things, put them in different directories and run charlearn.py separately. If you already know some characters, list them one per line in a file called known-chars.txt, using the same encoding as characters.txt and putting it in the same directory.)