[Idle-dev] Setting Command Line Arguments in IDLE
Richard at Damon-Family.org
Sun May 26 07:22:39 EDT 2019
I am working on a python script that will be provided arguments when run
from the system command line. Is there any place in IDLE to provide
equivalent arguments for testing while developing in IDLE?
Is there any way to define the working directory for the program when
run under IDLE,
or will it always be the directory the script is in (it will be typically
run using the PATH, so not the same directory as the script)?
If not, is there an easy way to detect that I am running in IDLE so I
can fake the command line arguments when testing?
More information about the IDLE-dev