[scribus] routines /subprograms

Gregory Pittman gregp_ky at yahoo.com
Tue Jul 5 21:23:35 UTC 2011


On 07/05/2011 05:06 PM, Fred Zimmerman wrote:
>    How do I call small independent programs from within a bigger Python
> program?
>    for example, I have a script to build book covers in Scribus's Python
> module. I want it to call another Python program that provides Windows style
> image selection. Also, I want to be able to set up the program as a series
> of modules to ease debugging. I know this must be possible but I learn best
> by example -- can anhyone provide some scripts t;ike this?
>
If I understand you correctly, it sounds like you want to create a 
function for this image selection inside the original script, so just 
strip out the parts you need and use the python def command...

Greg



More information about the scribus mailing list