Set Environment Variable Using Python Libraries