K
kj
OK, the following should work but doesn't, and I can't figure out
why:
Why am I seeing no output from PrettyPrint?
TIA!
kynn
why:
from xml.marshal.generic import dumps
dumps( ( 1, 2.0, 'foo', [3,4,5] ) )' said:from xml.dom.ext import PrettyPrint
PrettyPrint( dumps( ( 1, 2.0, 'foo', [3,4,5] ) ) )
import sys
PrettyPrint( dumps( ( 1, 2.0, 'foo', [3,4,5] ) ), sys.stdout )
Why am I seeing no output from PrettyPrint?
TIA!
kynn