+ 3
How we can debug a program in file??
6 Answers
+ 7
It depends on the problem(s) you're getting. Can you post a link to your code?
+ 7
Several IDEs have debugger programs available, if you use any of them. As far as I know, IDLE and PyCharm have such functionalities. Don't know about the others.
+ 4
If you are looking for writing debug or other information to a file you can use python logger module. Find more information here:
https://www.loggly.com/ultimate-guide/python-logging-basics/
0
Depends on the error messages you are getting.
What are you using to write and execute said program?
Python3
0
I use Visual stadio code