376: @head(1,'Long Script test') 377: Some script should generate a string of 3 'My names', 378: separated by 3 dashes. 379: @python('//') 380: x = 2 381: y = 3 382: z = 'My name' 383: weave((z + '-' * x) * y) 384: //
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.