On Thu, 08 May 2003 13:42:51 +0100, Turhan Ozen <txo at cs.nott.ac.uk> wrote: >in c it is possible to define > >#define PH x[1] > >so PH = 3 means x[1]=3 > >how can I do this in python? You don't. Python doesn't have macros of any kind. Naturally you can use a macro preprocessor on Python files anyway. Marcus