in reply to Re^4: Cannot work on second file after reading first file.
in thread Cannot work on second file after reading first file.
"It stops working" is why you want to have those prints in it. They will tell you *where* it stopped working, and if you put useful variables and comments in the prints, it will also tell you *what* things are not as you expect. From where and what, you can run the nearby steps of the code in your head and thus figure out *why* it is not working.
|
|---|