Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

thanks very much it works very weel

so if in understand well : these both codes are equivalent, aren't they ?

show(*[p[i] for i in range(8)])

show(graphics_array([p[i] for i in range(8)], 2, 4))

so that * is a sort of shortcut of graphics_array() ?

for the second :

P = graphics_array([p[i] for i in range(8)], 2, 4)
#show(P)
P.save("~/Desktop/toto.png")

gives

[Errno 2] No such file or directory: '~/Desktop/toto.png'

i will try to find it out alone

Vinz