412: @head(1,'Long Script test') 413: Some script should generate a string of 3 'My names', 414: separated by 3 dashes. 415: @python('//') 416: x = 2 417: y = 3 418: z = 'My name' 419: weave((z + '-' * x) * y) 420: //
The 'python' command accepts a string argument which is a terminator line for the script section. The whole section is gathered, without any processing, and then executed. There is a danger to be aware of: if you don't put the terminator in correctly, the command will read all the way to the end of the file.