Passing Arguments to Spyder for debugging file
Question:
I want to pass arguments in Spyder IDE with IPython to debug the file but the input arguments passing will be different
Driver.py -in “C:Desktop” -out “C:Desktop” -f 65 -f2 64
How can i pass the arguments, so that i can be able to debug the file.
Answers:
Go to run > configure
Tick command line options
and type in the arguments in the space.
I think I know what you are looking for (in spyder).
For my function, I have several arguments, to pass multiple arguments on spyder to debug I pass debugfile(‘filePath’, args=’–argN1=argV1 –argN2=argV2′, wdir=’coreFolderPath’)
I want to pass arguments in Spyder IDE with IPython to debug the file but the input arguments passing will be different
Driver.py -in “C:Desktop” -out “C:Desktop” -f 65 -f2 64
How can i pass the arguments, so that i can be able to debug the file.
Go to run > configure
Tick command line options
and type in the arguments in the space.
I think I know what you are looking for (in spyder).
For my function, I have several arguments, to pass multiple arguments on spyder to debug I pass debugfile(‘filePath’, args=’–argN1=argV1 –argN2=argV2′, wdir=’coreFolderPath’)