"truncate" the beginning of a file?

  • Nov. 7th, 2009 at 4:08 PM
I hope somebody's still out there!

I haven't looked at Python in years, but I'm hoping to come up with a quick & easy way to remove the first X characters from a file, something like file.truncate but from the beginning of a file.

Does that already exist, or will I need to do it by hand? Thanks!

Profile

Sunny Santosh
[info]suntosh
suntosh

Advertisement

Latest Month

October 2008
S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728293031 
Powered by LiveJournal.com
Designed by Tiffany Chow