How to paste python code on wordpress?

could ildg could.net at gmail.com
Tue Nov 22 02:22:09 EST 2005


Thank you very much Dan.
I settle the problem according to you tips.

On 11/22/05, Dan Lowe <dan at tangledhelix.com> wrote:
>
>
> On Nov 22, 2005, at 12:30 AM, could ildg wrote:
>
> > Thank you~
> > It works!
> > but how can paste "<" and ">", please?
> > these 2 symbols will also confuse wordpress and I can't publish
> > what I want.
>
> Replace < with <
>
> Replace > with >
>
> (where those abbreviations stand for "less than" and "greater than")
>
> Before: if x < 5:
>
> After: if x < 5:
>
> Another common character in code that you "should" do similarly is
> the double quote ("). For that, use "
>
> Before: if x == "foo":
>
> After: if x == "foo":
>
> -dan
>
> --
> Any society that needs disclaimers has too many lawyers. -Erik Pepke
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051122/40e98811/attachment.html>


More information about the Python-list mailing list