Python Function To Get Folder Path