[Scribus] Python tutorials

Gregory Pittman gpittman
Fri Oct 20 20:27:06 CEST 2006


Cedric Sagne wrote:
> Hi
>
> I am looking for tutorials on Python, on the wiki, and just 
> everywhere, but it clearly is one of the toughest things in Scribus. 
> My search is going on but I'm starting from scratch and I don't have 
> many resources yet.
>
> I found "Hello World" but it produces errors (I'm at a loss to debug 
> it... no clue where to start)... Does someone have links to resources, 
> especially step by step tutorials or commented scripts?
>
> I am looking for a simple script to assign a name to a shape, set up a 
> gradient A to B, and pick two colours for a new gradient, a script to 
> fill in a form and insert the text into predefined text boxes with the 
> existing text formating...
> starting from scratch this is tough, any help will be so much appreciated.
You'll get the most mileage out of learning python to understand its syntax.

After that, there are several scripts on the wiki to do various things, 
such as creating pages, creating and manipulating frames, and so on. 
Beyond that, it's a matter of looking through the Scripter API to see if 
the commands you need are there.

Greg



More information about the scribus mailing list