switch to interactive mode

nntpman68 news1234 at free.fr
Tue Mar 17 00:57:05 CET 2009


Hi JBW.


code.interact() does what I wanted. Great !!!


Thanks



N

JBW wrote:
> On Mon, 16 Mar 2009 23:49:34 +0100, nntpman68 wrote:
> 
>> I'd like, that a python script can be started by just calling it
>> (clicking on it),
>>
>> but that the script can decide to enter interactive mode if certain
>> conditions occur.
>>
>> Is this possible?
> 
> Don't know about the clicky-clicky part, but I've used code.interact to 
> do something similar.
> 
> JBW
> 



More information about the Python-list mailing list