[python] add decode numbers