Python Check If Relative Path