On Apr 22, 7:00 pm, "Sam the Cat" <[EMAIL PROTECTED]> wrote:
> Hey All,
>
> I am writing some COM code in Python to control photoshop. Several
> functions of PS require an "Array" argument. In the examples of VBscript or
> javascript the Array type is used. I have tried what would appear to be the
> equivalent in Python -- Lists and Tuples -- but to no avail. Anyone have
> any insight on what via the COM interface is equivalent to an Array in
> javascript ?
>
> Cheers
> Sam
See if the python array type works:
import array
y = array.array("i", [2,3,4])
print y
--
http://mail.python.org/mailman/listinfo/python-list