Debugging with IDLE

dave white dwhite2 at
Sat Apr 15 01:26:35 CEST 2000


I'd like to debug a python script using IDLE.  The way my script is
written, it requires command like arguments when run -- e.g.  I run my
script on the command line by typing :

>python input.txt

and 'input.txt' goes into sys.argv[1].  

Is there a way to provide a command line value to IDLE so that when I
run, it will be evaluated with 'input.txt' in sys.argv[1]?


More information about the Python-list mailing list