Tell me what is the command to debug a python program?



Tell me what is the command to debug a python program?..

Answer / Oliver Masih

"ipdb.set_trace()" or "import pdb; pdb.set_trace()"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Why c++ is faster than python?

1 Answers  


What is == in python?

1 Answers  


What is the use of globals() function in python?

1 Answers  


What are the local and global variables in python?

1 Answers  


What is %s %d in python?

1 Answers  


Should I learn html before python?

1 Answers  


How do I create a python package in pycharm?

1 Answers  


Whenever you exit python, is all memory de-allocated?

1 Answers  


How are inheritance and overriding methods are related?

1 Answers  


What is the difference between django, pyramid, and flask?

1 Answers  


What is a CGI script in Python?

1 Answers  


What is the type () in python?

1 Answers  


Categories