problem with exec

Steve Holden steve at holdenweb.com
Sun Jul 22 13:06:53 EDT 2007


Steven D'Aprano wrote:
> 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.
> 
Thanks. I was hoping that was the case.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list