python script code->array