(Oct-20-2017, 04:19 AM)Crackity Wrote: Both of the new print commands that I added in an attempt to print out the newly written lines before they were actually overwritten, were added after opening the file and before closing it again. If you look at the code again you should see that the same file is opened and closed 3 different times. So thank you for your reply but I don't think you understood my question. SmileI understood your question perfectly fine. However it looks like you don't understand that traceback is meaningful only in relation to the actual code that produce it, not some hypothetical imaginary code that you don't bother to post. Among other useful things traceback shows the exact line at or around which is the error. Next time better post actual code that you run and that is producing the error.
Newly written .txt file not printing
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
My Loop for printing text file goes to infinity | Nomex | 7 | 6,440 |
Feb-10-2020, 03:13 PM Last Post: buran |
|
Command line inputs not printing to Log File | ijosefson | 1 | 3,978 |
Oct-19-2017, 06:41 AM Last Post: buran |
Users browsing this thread: 1 Guest(s)