Getting WordPress to leave code alone
My post about Twisted and wxPython was being confounded by WordPress’s too-clever munging of my code pastes. I don’t know what the
So I installed this enscript-using plugin and then hacked out the call to enscript (since my hosting provider doesn’t have it installed or the PHP functions to call it won’t work or something).
Raargh!
For future posts, we can use <pre class=”code”>…<pre> to surround the code to get the quoting and no-munging effect.
December 15th, 2004 at 10:15 pm
if __name__ == '__main__': print "Hello Word"