Author Topic: Is there possibility to use scribus module in python outside Scribus?  (Read 2705 times)


  • Newbie
  • *
  • Posts: 1
  • Karma: 0
  • Scribus User

I would like to generate pdf files using Scribus and python scripting. I have been looking around and have found just examples of python scripts using scribus module within Scirbus. And commentary in these scripts, that

Code: [Select]
"This Python script is written for the Scribus scripting interface.
It can only be run from within Scribus."

When I am using command

Code: [Select]
import scribus
In python, an error occurs ImportError: No module named 'scribus'. But when I am using this command within python console in Scribus, everything is ok and I can use this module. So, Where can I found this module?

Or can I run Scribus with input parametr as python script? Something like

Code: [Select]
I am using both linux and windows, so solution in one of these os will be great.

Python [3.3.2] & Scribus [1.4.3]

Thank you.

« Last Edit: October 30, 2014, 11:27:14 am by wasyl »