problem with exec
Steven D'Aprano
steve at REMOVE.THIS.cybersource.com.au
Sun Jul 22 12:58:38 EDT 2007
On Sun, 22 Jul 2007 09:12:21 -0400, Steve Holden wrote:
>> Steve Holden was playing silly games. You can't use { } for indentation.
>> You have to use indentation.
>>
> I wasn't playing silly games at all, and I did prefix that part ofmy
> answer with "I'm afraid I don't understand this question". The OP is
> writing a program to "translate" a Python-like language that uses
> non-English keywords into Python. Since the application is transforming
> its input, it could transform braces into indentation. Of course
> *Python* doesn't use braces, but the question was how to write
> "pseudo-Python" without using indentation to indicate grouping.
Then I have misunderstood you, and I apologize.
--
Steven.
More information about the Python-list
mailing list