Delphi Array Functions In Python