Postfix/Prefix Operators (++,--)

Nick Vargish nav at
Sat Jun 7 06:11:51 CEST 2003

hostmaster <alpot at> writes:

> Python doesn't seems to support postfix/prefix operators (e.g. i++,
> --i).  Why?

Because Python is not structured assembler, it's an actual high level
language. If you program in Python for a little while you won't even
miss INCR and DECR.


#include<stdio.h> /* SigMask 0.3 (sig.c) 19990429 PUBLIC DOMAIN "Compile Me" */
int main(c,v)char *v;{return !c?putchar(*v-1)&&main(0,v+ /* Tweaks welcomed. */
1):main(0,"Ojdl!Wbshjti!=obwAqbusjpu/ofu?\v\1");}  /* build: cc -o sig sig.c */

More information about the Python-list mailing list