define
Michael Hudson
mwh at python.net
Thu May 8 10:00:40 EDT 2003
Turhan Ozen <txo at cs.nott.ac.uk> writes:
> 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 can't. What are you actually trying to do?
Cheers,
M.
--
This is an off-the-top-of-the-head-and-not-quite-sober suggestion,
so is probably technically laughable. I'll see how embarassed I
feel tomorrow morning. -- Patrick Gosling, ucam.comp.misc
More information about the Python-list
mailing list