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.

Asked By: Chandra Sekhar K

||

Answers:

Go to run > configure

Tick command line options and type in the arguments in the space.

Answered By: PunyCode

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’)

Answered By: Aquira
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.