[Scribus] Old Python Script Crashing
    Henry Hartley 
    henryhartley
       
    Wed Dec  5 17:56:43 CET 2007
    
    
  
Henry wrote:
>>   ob = createText(Xmgn, 2*Ymgn+ImgHt, dayw*7, TextHt, "Text" +
str(Mn))
>>   NameExistsError: An object with the requested name already exists.
I replaced
  "Text" + str(Mn)
with
  "Text%02d" % Mn
and all seems well.  That's more Pythonish, apparently.  Who knew?
Now to tweek the layout to give me the look I want.  I suspect I'll have
more questions, though.
-- 
Henry
    
    
More information about the scribus
mailing list