Re: call function in console without paranthesis

2007-05-31 Thread Robert Kern
Troels Thomsen wrote: > Hello, > > I am wondering if I can write some code, that allows me to call functions in > the console , IDLE, without using the paranthesis notation. Like print. > This will improve "intreractive'ness" > > serialOpen() # some magic is issued here !!! > tx Hello > > inste

Re: call function in console without paranthesis

2007-05-31 Thread Wildemar Wildenburger
Troels Thomsen wrote: > Hello, > > I am wondering if I can write some code, that allows me to call functions in > the console , IDLE, without using the paranthesis notation. Like print. > This will improve "intreractive'ness" > Matlab-like, right? In a nutshell: No, not possible in python *its

call function in console without paranthesis

2007-05-31 Thread Troels Thomsen
Hello, I am wondering if I can write some code, that allows me to call functions in the console , IDLE, without using the paranthesis notation. Like print. This will improve "intreractive'ness" serialOpen() # some magic is issued here !!! tx Hello instead of serialObj = mySerial() serialObj