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
conditio
On Mar 16, 5:49 pm, nntpman68 wrote:
> Hi
>
> I know about two ways to enter python interactive mode
>
> 1.) just start python
>
> 2.) run python -i pythonscript.py
>
> What I am looking for is slightly different:
>
> I'd like, that a python script can be started by just calling it
> (clicking on
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,
Hi
I know about two ways to enter python interactive mode
1.) just start python
2.) run python -i pythonscript.py
What I am looking for is slightly different:
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 interac