[python] add morse code