Python Read System Variable Pathlength