[scribus] routines /subprograms

Owen rcook at pcug.org.au
Tue Jul 5 22:22:49 UTC 2011


>   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?





You might want to look at
http://wiki.scribus.net/canvas/Reduce_the_size_of_Scribus_generated_PDFs

You need to import os and then execute 'os.system(your external command)'



Owen






More information about the scribus mailing list