Ok, I did a search and can't seem to find the exact solution to my problem. In windows, I'm trying to delete specific lines from some files. The line number is static. I can get linecache to display the correct line, but I can't seem to figure out how to delete that line.
I found some code that supposedly deletes the last line of a file. I figured I could tweak that code and use it but it doesn't work for me.
Can someone kick me in the right direction? Thanks!