From: David Tweet on
This should work:

python -i myscript.py --cl --cs 5 --ce 6 --bw 7 --set 1

On Dec 5, 2007 6:31 PM, wang frank <fw3(a)hotmail.co.jp> wrote:
>
>
> Hi,
>
> I am debugging a python script which takes a set of paramters. In the
> regular shell, I type:
>
> myscript.py --cl --cs 5 --ce 6 --bw 7 --set 1
>
> However I want to debug the code in the interactive python shell, I do not
> know how to run it. I know that
> execfile("myscript.py")
>
> will run the script. But I could not figure out how to pass those
> parameters.
>
> Could some one help me to find out the solution?
>
> Thanks
>
> Frank
>
> ________________________________
> $B$[$i!"JQ$o$C$?$G$7$g!)!!%^%$%/%m%=%U%H$H$$$C$7$g$K!"<!$N%G%8%?%k%i%$%U$X(B http://go.windowslive.jp/
> --
> http://mail.python.org/mailman/listinfo/python-list
>



--
-David