Optional code segment delimiter?
Dan Bishop
danb_83 at yahoo.com
Sat Dec 29 15:31:49 EST 2007
On Dec 29, 12:41 pm, Matt Nordhoff <mnordh... at mattnordhoff.com> wrote:
> xkenneth wrote:
> > Is it possible to use optional delimiters other than tab and colons?
>
> > For example:
>
> > if this==1 {
> > print this
> > }
>
> <http://timhatch.com/projects/pybraces/>
>
> Heheheh..
Wow! I never thought of (ab)using encodings like that. And sure
enough, it's perfectly legal to write:
# -*- encoding: rot-13 -*-
cevag h"Uryyb, jbeyq!"
More information about the Python-list
mailing list