get the platfrom information using python standard module.