[Scribus] help need taking first steps in scripting
    Craig Ringer 
    craig
       
    Sun Apr  2 21:11:23 CEST 2006
    
    
  
Ananga ---- Antony Brand wrote:
> and I got the following error message
>
> Traceback (most recent call last):
>   File "<string>", line 9, in ?
>   File "C:/my first python.py", line 7, in ?
>     createLine( xalong , yalong , xalong+cubelength , yalong , "line1")
> NameError: name 'createLine' is not defined
>
>
> why isn't create:ine not defined? Do I have to include anonther 
> pythong file for it to work properly
You must `import scribus' then use scribus.createLine, or use `from 
scribus import *', in order to get access to the Scribus Python API.
--
Craig Ringer
    
    
More information about the scribus
mailing list