clear content of 'printed'

Christian Otteneuer chotty at freenet.de
Tue Aug 24 12:04:52 EDT 2004


"Evan Simpson" wrote:

> "printed" is a magic variable implemented by the Script machinery, and is 
> read-only.  You need to drop print and use plain strings:
>
> for i in range(len(myList)):
>     id = myList[i]
>     txt = "some text"
>     container.writeToFile(id, txt)


Thanks! That's the way I'll do it... 





More information about the Python-list mailing list