However, I helped discover something that can trip you up, and wanted to warn others:
When you are reading the forum, and someone has provided scripting for Python on here like in the code box below, it is best to NOT use the "Select All" feature to copy and paste it into your editing program. For some reason, programs like PlasmaShop, when you do with, will automatically indent all the lines!
This will result in syntax error, or other problems.
example:
- Code: Select all
######################################
# #
# Dynamic Book Template by D'Lanor #
# #
######################################
from Plasma import *
from PlasmaTypes import *
from PlasmaNetConstants import *
import xLinkingBookDefs
import __Campbravo__PageDefs
actClickableObject = ptAttribActivator(1, 'Act: Clickable Object')
ObjectMsg = ptAttribString(2, 'Object String')
AgeStartedIn = None
ourBook = None
bkLinks = []
Instead, MANUALLY select the code using your mouse and keyboard, then copy and paste it into your program. The auto indent will not happen then.
I don't know why this is, nor others. But it did cause me a lot of hair pulling. You would think we'd notice it right away, but it was actually over looked for a while.
Hope this helped.