List To Array In Python Using A Posixpath Objective Vs Aim