[scribus] problem importing python modules to script

Gregory Pittman gregp_ky at yahoo.com
Mon Oct 17 15:27:53 UTC 2011


On 10/17/2011 10:05 AM, Steve Wright wrote:
> Dear scripting gurus,
>
> I have some modules that I have installed on my machine, (atom and gdata for
> Google Calendar API stuff) that work when I call them from the an external
> script, but when I try to run them from the Scribus console or directly from
> the script menu, the import doesn't work and the script fails.  Is there a
> place to explicitly set the path for an imported module?  Any other
> suggestions?
>

Do you get any sort of traceback message?

I'm not sure of what sort of import commands you might need for these.
For example, when you use the
import scribus
command,

then your commands look like

scribus.getText()

Greg




More information about the scribus mailing list