List To Array In Python Using A Posixpath Objective Statement