Quote:
Originally Posted by TheDarkWraith
a string buffer in Python can only hold x amount of characters. I've found a solution to this though. We define multiple AIText= entries where each AIText is a paragraph of text.
We have to also define an [AdditionalInfoEnd] header after all the AITexts.
I've also fixed the formatting problem when images are embedded into the text.
|
I'm not exactly sure how the Python interpreter was embedded into SH5 or what data types sh5 defines that you can access or even how much of the python api was included. But couldn't you simply extend the String Buffer class to suit your needs ? Or even define a new class to tailor it to what you are trying for ?
Regards,
Kevin