Blogging Python Output: A Challenge
class MyCls:
pass
obj = MyCls()
print(obj)
<__main__.mycls>
It starts out looking OK, but once I preview it, or publish it, Blogger just throws away everything after the first space up to the closing angle. Who can tell me what I am doing wrong? Or is Blogger being unfair.
* don't even think about blogging the actual entity codes: they'll be mangled too.
[The program will run, producing slightly different output, under Python 2. I suspect Blogger will mangle that output too]
