machine control script ( parameterless method? )

Bob Ippolito bob at redivi.com
Mon Mar 8 05:10:13 CET 2004


On 2004-03-07 18:31:30 -0500, simon place <simon_place at whsmithnet.co.uk> said:

> F. Petitjean wrote:
> 
>> On Sat, 06 Mar 2004 simon place <simon_place at whsmithnet.co.uk> wrote:
>> 
>> [snip]
>> 
>>> that's why the question is actually only about getting rid of the brackets.
>> 
>> If the action is a property, simply writing someobject.someobject can
>> trigger a get method  whithout the brackets.
>> 
>> Regards.
> 
> thanks this is lot better, i might be able to except a dot but if 
> anyone has an idea about getting rid of this too?

Yeah, write your own parser that will translate your desired syntax 
into Python code before it gets compiled.  What you want isn't really 
Python.

-bob




More information about the Python-list mailing list