add get_platform.py