This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > June 2007 > another application of Python's "exec" command





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author another application of Python's "exec" command
John Andrisan

2007-06-15, 6:43 pm

underprocessable
Lori Davis

2007-06-19, 6:32 pm

John Andrisan wrote:
> This one helps you divide a circle into n equal parts.
>
> The first prompt shows the equation "angle=360.0/5 " to get 5 equal parts.
>
> The .0 in the numerator should not be changed because it can lead to integer
> truncations later, causing faulty cut lines.


I can definitely make good use of this one - love the name, too. Thanks
again, John.

Lori
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews