in reply to Remove the first word for each lines from a text file
You have two loops in your code.
Remove the one that you don't want.
If you can't find the inner loop, please explain in plain English what every line of your code is supposed to do and write that as a comment beside each line.
If a line does more than one thing, consider breaking that line into two lines.
Consider adding print statements after every line to see what your program is doing and how it progresses.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove the first word for each lines from a text file
by ArifS (Beadle) on Dec 22, 2016 at 21:06 UTC |