I tried to use Python with command line parser 'kakasi' together. Here is my code:
# -*- coding: utf-8 -*-
import os
text = 'スッキリわかる Java入門 実践編 第2版'
cmd = "echo $text | iconv -f utf8 -t eucjp | kakasi -i euc -w | kakasi -i euc -Ha -Ka -Ja -Ea -ka"
os.system(cmd)
-------------------
The result is empty line as below:
Process finished with exit code 0
Actually, the result should be like this:
sukkiri wakaru Java nyuumon jissenhen dai 2 han
I need a help.
Thanks in advance.