readme:add python version, sql.py: add get id function